Files
go-mc/nbt/interface.go

13 lines
185 B
Go

package nbt
import "io"
type Unmarshaler interface {
UnmarshalNBT(tagType byte, r DecoderReader) error
}
type Marshaler interface {
TagType() byte
MarshalNBT(w io.Writer) error
}