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

Method putArrayLength

prep_encoder.go:199–202  ·  view source on GitHub ↗
(in int)

Source from the content-addressed store, hash-verified

197}
198
199func (pe *prepFlexibleEncoder) putArrayLength(in int) error {
200 pe.putUVarint(uint64(in + 1))
201 return nil
202}
203
204func (pe *prepFlexibleEncoder) putBytes(in []byte) error {
205 if in == nil {

Callers 2

putStringMethod · 0.95
putStringArrayMethod · 0.95

Calls 1

putUVarintMethod · 0.65

Tested by

no test coverage detected