Documentation
¶
Overview ¶
package nbt is a library for working with Minecraft nbt files. encoding is not supported yet.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidUnmarshalType = errors.New("trying to unmarshal into wrong type")
)
Functions ¶
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder decodes reading reading from an underlying io.Reader
func NewDecoder ¶
NewDecoder returns a Decoder with r as the underlying io.Reader
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
Encoder handles nbt encoding.
func NewEncoder ¶
NewEncoder returns an Encoder which will write the result of the encoding to w.
Click to show internal directories.
Click to hide internal directories.