nbtd.NBTEnd



class NBTEnd: nbtd.INBTItem.INBTItem;
Class for indicating the End of a compound

@property int size();
Will return 0

@property string name();
Name cannot be get

@property void name(string name);
Name cannot be set

@property byte value();
Value cannot be get

@property void value(byte value);
Value cannot be set

ubyte[] encode(bool compressed = true, bool hasName = true);
Will return [0] if hasName is true and [] if hasName is false.

void decode(ubyte[] data, bool compressed = true, bool hasName = true);
Will only check if first byte is 0 if hasName is true

void read(ref ubyte[] stream, bool hasName = true);
Will only advance the stream 1 character if hasName is true

string toString();
Returns:
"NBTEnd"



Page generated by Ddoc.