Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gson-style streaming NBT reader/writer API #1009

Open
zml2008 opened this issue Dec 18, 2023 · 0 comments
Open

Gson-style streaming NBT reader/writer API #1009

zml2008 opened this issue Dec 18, 2023 · 0 comments

Comments

@zml2008
Copy link
Member

zml2008 commented Dec 18, 2023

I'd like to introduce a streaming API for working with adventure-nbt, in order to become more flexible with data wrangling, and allow operations on the NBT stream without having to build a whole tree data structure.

This would likely involve:

  • designing the streaming reader/writer interfaces
  • replacing the existing BinaryTagIO.Reader/Writer system
  • integrating with the SNBT reader/writer system
  • handling things like depth or length limit as wrapper readers & writers (do we want Forwarding* interfaces)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant