Versions in this module Expand all Collapse all v1 v1.7.1 Jan 29, 2021 v1.7.0 Dec 8, 2020 Changes in this version + const MaxLenUvarint63 + const MaxValueUvarint63 + var ErrNotMinimal = errors.New("varint not minimally encoded") + var ErrOverflow = errors.New("varints larger than uint63 not supported") + var ErrUnderflow = errors.New("varints malformed, could not reach the end") + func FromUvarint(buf []byte) (uint64, int, error) + func PutUvarint(buf []byte, x uint64) int + func ReadUvarint(r io.ByteReader) (uint64, error) + func ToUvarint(num uint64) []byte + func UvarintSize(num uint64) int