add support for nonarray lists, fix bugs with structs, make compliant with bigtest.nbt
This commit is contained in:
@ -22,8 +22,13 @@ const (
|
||||
TagCompound
|
||||
TagIntArray
|
||||
TagLongArray
|
||||
TagNone = 0xFF
|
||||
)
|
||||
|
||||
func IsArrayTag(ty byte) bool {
|
||||
return ty == TagByteArray || ty == TagIntArray || ty == TagLongArray
|
||||
}
|
||||
|
||||
type DecoderReader = interface {
|
||||
io.ByteScanner
|
||||
io.Reader
|
||||
|
Reference in New Issue
Block a user