MCPcopy Create free account
hub / github.com/IBM/sarama / putVarint

Method putVarint

prep_encoder.go:40–43  ·  view source on GitHub ↗
(in int64)

Source from the content-addressed store, hash-verified

38}
39
40func (pe *prepEncoder) putVarint(in int64) {
41 var buf [binary.MaxVarintLen64]byte
42 pe.length += binary.PutVarint(buf[:], in)
43}
44
45func (pe *prepEncoder) putUVarint(in uint64) {
46 var buf [binary.MaxVarintLen64]byte

Callers 1

putVarintBytesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected