Description

DecodeVarint reads a varint-encoded integer from the slice. It returns the integer and the number of bytes consumed, or zero if there is not enough. This is the format for the int32, int64, uint32, uint64, bool, and enum protocol buffer types.

DecodeVarint is referenced in 13 repositories

github.com/golang/protobuf github.com/m3db/m3db github.com/dgonyeo/gohbase

...