readString

public String readString()

Same as readString, but the resulting string will never be interned.

See also


public String readString(boolean intern)

Read a length-prefixed string from the inputStream

See also

Parameters

intern

Whether or not the string's interned value will be returned. When deserializing lots of NBT data with the same properties, setting this to true can significantly lower memory consumption.

Throws

If the string could not be read or was not valid NBT data