Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOverflow = errors.New("varints larger than uint64 not yet supported") ErrNotMinimal = errors.New("varint not minimally encoded") )
Functions ¶
func FromUvarint ¶
FromUvarint reads an unsigned varint from the beginning of buf, returns the varint, and the number of bytes read.
func UvarintSize ¶
UvarintSize returns the size (in bytes) of `num` encoded as a unsigned varint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.