INBTItem.read

Decodes the item from a ubyte[] stream that can be read without name and TAG ID and stores the results in this and advances the stream.

interface INBTItem
void
read
(
ref ubyte[] stream
,
bool hasName = true
)

Parameters

hasName bool

When false, reading won't try to read a name and this.name will be set to "".

Meta