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

Method putBytes

prep_encoder.go:76–82  ·  view source on GitHub ↗

arrays

(in []byte)

Source from the content-addressed store, hash-verified

74// arrays
75
76func (pe *prepEncoder) putBytes(in []byte) error {
77 pe.length += 4
78 if in == nil {
79 return nil
80 }
81 return pe.putRawBytes(in)
82}
83
84func (pe *prepEncoder) putVarintBytes(in []byte) error {
85 if in == nil {

Callers

nothing calls this directly

Calls 1

putRawBytesMethod · 0.95

Tested by

no test coverage detected