Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const MaxVarintLen16 + const MaxVarintLen32 + const MaxVarintLen64 + var BigEndian bigEndian + var LittleEndian littleEndian + func PutUvarint(buf []byte, x uint64) int + func PutVarint(buf []byte, x int64) int + func Read(r io.Reader, order ByteOrder, data any) error + func ReadUvarint(r io.ByteReader) (uint64, error) + func ReadVarint(r io.ByteReader) (int64, error) + func Size(v any) int + func Uvarint(buf []byte) (uint64, int) + func Varint(buf []byte) (int64, int) + func Write(w io.Writer, order ByteOrder, data any) error + type ByteOrder interface + PutUint16 func([]byte, uint16) + PutUint32 func([]byte, uint32) + PutUint64 func([]byte, uint64) + String func() string + Uint16 func([]byte) uint16 + Uint32 func([]byte) uint32 + Uint64 func([]byte) uint64