NBTEnd.encode

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

class NBTEnd
ubyte[]
encode
(
bool compressed = true
,
bool hasName = true
)

Meta