Package com.saicone.nbt.io
package com.saicone.nbt.io
This package provides input/output classes implementation to handle data as or from tag objects.
-
ClassesClassDescriptionA character stream that do the same functionality as
StringWriter
but using aStringBuilder
instead, that provides an asynchronous implementation of string writing.
Same asStringWriter
, closing this implementation has no effect since string builder is not a closeable implementation.A delegated-first data output implementation that executes all the methods into delegatedDataOutput
.
The main difference is that anyUTFDataFormatException
will make the method to be executed again with an empty string instead.A network data input stream do the same functionality asReverseDataInputStream
but read every integer as VarInt32 and long as VarInt64.
This implementation aims to be same as Minecraft Bedrock network data decoding.A network data output stream do the same functionality asReverseDataOutputStream
but writes integers as VarInt32, longs as VarInt64 and String size as unsigned VarInt32.
This implementation aims to be same as Minecraft Bedrock network data encoding.A reverse data input stream do the same functionality asDataInputStream
but read every number with its bytes reversed, in other words, using little endian decoding.A reverse data output stream do the same functionality asDataOutputStream
but writes every number with its bytes reversed, in other words, using little endian encoding.
Instead ofDataOutputStream
, it uses a simplified method to write Strings as UTF-8 format.TagInput<T>Tag Output
A tag input provides methods for reading multiples data formats from a delegatedDataInput
and reconstructing from them data in any tag object type.TagOutput<T>Tag Output
A tag output provides methods for converting multiples data formats from any tag object to a delegatedDataOutput
.TagReader<T>Reads SNBT formated tag objects from delegated reader.
The compatible format aims to be the same as Minecraft.TagWriter<T>Writes tag objects into delegatedWriter
as SNBT format.
The formatting method aims to be compatible with older Minecraft versions by avoiding the usage of single quotes.