Versions in this module Expand all Collapse all v1 v1.4.0 Dec 29, 2025 Changes in this version + type Peeker interface + Peek func(n int) ([]byte, error) v1.3.1 Nov 23, 2025 Changes in this version + func Get7BitEncodedIntSize(value int32) int + func PeekByte(r io.Reader) (byte, error) + func PeekString(rs io.ReadSeeker) (string, error) + func Read7BitEncodedInt(reader io.Reader) (int32, error) + func ReadBool(r io.Reader) (bool, error) + func ReadByte(r io.Reader) (byte, error) + func ReadBytes(r io.Reader, n int) ([]byte, error) + func ReadFloat2(r io.Reader) ([2]float32, error) + func ReadFloat3(r io.Reader) ([3]float32, error) + func ReadFloat32(r io.Reader) (float32, error) + func ReadFloat4(r io.Reader) ([4]float32, error) + func ReadFloat4x4(r io.Reader) ([16]float32, error) + func ReadFloat64(r io.Reader) (float64, error) + func ReadInt16(r io.Reader) (int16, error) + func ReadInt32(r io.Reader) (int32, error) + func ReadInt64(r io.Reader) (int64, error) + func ReadInt8(r io.Reader) (int8, error) + func ReadString(r io.Reader) (string, error) + func ReadUInt16(r io.Reader) (uint16, error) + func ReadUInt32(r io.Reader) (uint32, error) + func ReadUInt64(r io.Reader) (uint64, error) + func Write7BitEncodedInt(writer io.Writer, value int32) error + func WriteBool(w io.Writer, v bool) error + func WriteByte(w io.Writer, b byte) error + func WriteBytes(w io.Writer, bs []byte) error + func WriteFloat2(w io.Writer, arr [2]float32) error + func WriteFloat3(w io.Writer, arr [3]float32) error + func WriteFloat32(w io.Writer, val float32) error + func WriteFloat4(w io.Writer, arr [4]float32) error + func WriteFloat4x4(w io.Writer, arr [16]float32) error + func WriteFloat64(w io.Writer, value float64) error + func WriteInt16(w io.Writer, value int16) error + func WriteInt32(w io.Writer, v int32) error + func WriteInt64(w io.Writer, value int64) error + func WriteInt8(w io.Writer, value int8) error + func WriteString(w io.Writer, s string) error + func WriteUInt16(w io.Writer, val uint16) error + func WriteUInt32(w io.Writer, val uint32) error + func WriteUInt64(w io.Writer, value uint64) error