String

Tag with an UTF-8 string encoded as its length as short and its content casted to btyes.

alias String = SimpleTag!(string, NBT_TYPE.STRING)

Examples

assert(new String("test") == "");
assert(new String("", "test") == "test");

Meta