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.
  • Classes
    Class
    Description
    A character stream that do the same functionality as StringWriter but using a StringBuilder instead, that provides an asynchronous implementation of string writing.
    Same as StringWriter, 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 delegated DataOutput.
    The main difference is that any UTFDataFormatException will make the method to be executed again with an empty string instead.
    A network data input stream do the same functionality as ReverseDataInputStream 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 as ReverseDataOutputStream 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 as DataInputStream but read every number with its bytes reversed, in other words, using little endian decoding.
    A reverse data output stream do the same functionality as DataOutputStream but writes every number with its bytes reversed, in other words, using little endian encoding.
    Instead of DataOutputStream, it uses a simplified method to write Strings as UTF-8 format.
    Tag Output
    A tag input provides methods for reading multiples data formats from a delegated DataInput and reconstructing from them data in any tag object type.
    Tag Output
    A tag output provides methods for converting multiples data formats from any tag object to a delegated DataOutput.
    Reads SNBT formated tag objects from delegated reader.
    The compatible format aims to be the same as Minecraft.
    Writes tag objects into delegated Writer as SNBT format.
    The formatting method aims to be compatible with older Minecraft versions by avoiding the usage of single quotes.