package
0.0.0-20231206102234-5dc18d7e55a5
Repository: https://github.com/datadog/vtprotobuf.git
Documentation: pkg.go.dev
# Functions
EncodeVarint encodes a uint64 into a varint-encoded byte slice and returns the offset of the encoded value.
SizeOfVarint returns the size of the varint-encoded value.
SizeOfZigzag returns the size of the zigzag-encoded value.
Skip the first record of the byte slice and return the offset of the next record.
# Variables
ErrIntOverflow is returned when decoding a varint representation of an integer that overflows 64 bits.
ErrInvalidLength is returned when decoding a negative length.
ErrUnexpectedEndOfGroup is returned when decoding a group end without a corresponding group start.