NBT Unmarshaler support

This commit is contained in:
Tnze
2019-07-31 21:00:30 +08:00
parent 4bd9c44f30
commit e385cb77cb
6 changed files with 29 additions and 50 deletions

9
nbt/interface.go Normal file
View File

@ -0,0 +1,9 @@
package nbt
type Unmarshaler interface {
Unmarshal(tagType byte, tagName string, r DecoderReader) error
}
//type Marshaler interface{
// Marshal()
//}