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

Improve the reader and writer helpers #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SandroHc
Copy link

@SandroHc SandroHc commented Feb 4, 2021

Added support for Input/OutputStreams and created helpful builders. Also wrapped the file methods on buffered streams to improve reading/writing performance.

Here is an example:

// with the current implementation
NBTUtil.writeLE(tag, "out.schematic", true);

// with the new builder
NBTUtil.Writer.write().tag(tag).littleEndian().compressed(true).to("out.schematic");

Added support for Input/OutputStreams and created helpful builders.
@coveralls
Copy link

coveralls commented Feb 4, 2021

Coverage Status

Coverage increased (+5.5%) to 83.389% when pulling 5bf03fc on SandroHc:master into ae1f2ba on Querz:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants