github.com/golang/protobuf/proto.Buffer.EncodeVarint (method)
3 uses
github.com/golang/protobuf/proto (current package)
buffer.go#L140: func (b *Buffer) EncodeVarint(v uint64) error {
buffer.go#L147: return b.EncodeVarint(uint64((uint32(v) << 1) ^ uint32((int32(v) >> 31))))
buffer.go#L152: return b.EncodeVarint(uint64((uint64(v) << 1) ^ uint64((int64(v) >> 63))))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |