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");
Coverage increased (+5.5%) to 83.389% when pulling 5bf03fc55f0a55b3722e86ce87c84f861ac67aef on SandroHc:master into ae1f2ba764c5cd0b61b03b64538af20cf9a146b2 on Querz:master.
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: