Documentation ¶
Index ¶
- Constants
- func GetVarIntSize(value int) int
- func ReadBool(reader io.Reader) (bool, error)
- func ReadByte(reader io.Reader) (byte, error)
- func ReadByteArray(reader io.Reader) ([]byte, error)
- func ReadBytes(reader io.Reader, n int) ([]byte, error)
- func ReadFloat32(reader io.Reader) (float32, error)
- func ReadFloat64(reader io.Reader) (float64, error)
- func ReadInt16(reader io.Reader) (int16, error)
- func ReadInt32(reader io.Reader) (int32, error)
- func ReadInt64(reader io.Reader) (int64, error)
- func ReadNBT(reader io.Reader, blueprint any) (any, error)
- func ReadString(reader io.Reader) (string, error)
- func ReadVarInt(reader io.Reader) (int, error)
- func ReadVarLong(reader io.Reader) (int64, error)
- func WriteBitSet(writer io.Writer, bitSet *BitSet) error
- func WriteBool(writer io.Writer, value bool) error
- func WriteByte(writer io.Writer, value byte) error
- func WriteByteArray(writer io.Writer, value []byte) error
- func WriteFloat32(writer io.Writer, value float32) error
- func WriteFloat64(writer io.Writer, value float64) error
- func WriteInt16(writer io.Writer, value int16) error
- func WriteInt32(writer io.Writer, value int32) error
- func WriteInt64(writer io.Writer, value int64) error
- func WriteNBT(writer io.Writer, obj any) error
- func WritePosition(writer io.Writer, position *Position) error
- func WriteSlot(writer io.Writer, slot *SlotData) error
- func WriteString(writer io.Writer, value string) error
- func WriteUUID(writer io.Writer, value UUID) error
- func WriteVarInt(writer io.Writer, value int) error
- func WriteVarLong(writer io.Writer, value int64) error
- type BitSet
- type Position
- type SlotData
- type UUID
Constants ¶
View Source
const ( SegmentBits = 0x7F ContinueBit = 0x80 )
Variables ¶
This section is empty.
Functions ¶
func GetVarIntSize ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.