nbt

package
v0.0.0-...-82b4563 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	End int8 = iota
	Byte
	Short
	Int
	Long
	Float
	Double
	ByteArray
	String
	List
	Compound
	IntArray
	LongArray
)

Variables

View Source
var BadStringLengthError = errors.New("bad string length")

Functions

This section is empty.

Types

type Anon

type Anon struct {
	Value any
}

func (*Anon) Decode

func (s *Anon) Decode(r io.Reader) (err error)

func (*Anon) Encode

func (s *Anon) Encode(w io.Writer) (err error)

type Tag

type Tag struct {
	Name  string
	Value any
}

func (*Tag) Read

func (s *Tag) Read(r io.Reader) (err error)

func (*Tag) Write

func (s *Tag) Write(w io.Writer) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL