NBTEnd

Class for indicating the End of a compound

Constructors

this
this()
Undocumented in source.

Members

Functions

decode
void decode(ubyte[] data, bool compressed, bool hasName)

Will only check if first byte is 0 if hasName is true

encode
ubyte[] encode(bool compressed, bool hasName)

Will return [0] if hasName is true and [] if hasName is false.

read
void read(ubyte[] stream, bool hasName)

Will only advance the stream 1 character if hasName is true

toString
string toString()

Properties

dup
INBTItem dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property getter]

Name cannot be get

name
string name [@property setter]

Name cannot be set

size
int size [@property getter]

Will return 0

type
NBTType type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
value
byte value [@property getter]

Value cannot be get

value
byte value [@property setter]

Value cannot be set

Meta