View definition

func EncodeVarint(x uint64) []byte

Defined in github.com/golang/protobuf/proto/encode.go

Description

EncodeVarint returns the varint encoding of x. This is the format for the int32, int64, uint32, uint64, bool, and enum protocol buffer types. Not used by the package itself, but helpful to clients wishing to use the same encoding.

EncodeVarint is referenced in 12 repositories

github.com/aykevl/dtsync github.com/whyrusleeping/go-pbs github.com/pingcap/go-hbase

...