NBTInputStream

public void NBTInputStream(InputStream inputStream)

Same as NBTInputStream, but all interning is disabled by default

See also


public void NBTInputStream(    InputStream inputStream,     boolean internNames,     boolean internValues)

Constructs a stream for reading NBT data, with control over interning of parsed strings. When reading lots of data with similar structure and tag names, enabling these features may free up significant amounts of energy.

See also

Parameters

inputStream

An input stream of valid NBT data; may also be gzipped

internNames

Whether or not readCompound will use interned tag names

internValues

Whether or not readValue() will intern STRING values. This effect also propagates to values in compounds and elements in lists of strings