NBTCommon

mixin template for primitive types and arrays. Where all arrays implement the index operator and a length prefix of the PrefixLength argument type.

Constructors

this
this(T value, string name)

Members

Functions

decode
void decode(ubyte[] data, bool compressed, bool hasName)
Undocumented in source. Be warned that the author may not have intended to support it.
encode
ubyte[] encode(bool compressed, bool writeName)
Undocumented in source. Be warned that the author may not have intended to support it.
opDollar
size_t opDollar()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
typeof(_value[0]) opIndex(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
T opIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
T opSlice(size_t start, size_t end)
Undocumented in source. Be warned that the author may not have intended to support it.
read
void read(ubyte[] stream, bool hasName)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

Properties

dup
INBTItem dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property getter]
name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
type
NBTType type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
value
T value [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
value
T value [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

See Also

INBTItem

Meta