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

Method putInt32Array

prep_encoder.go:138–145  ·  view source on GitHub ↗
(in []int32)

Source from the content-addressed store, hash-verified

136}
137
138func (pe *prepEncoder) putInt32Array(in []int32) error {
139 err := pe.putArrayLength(len(in))
140 if err != nil {
141 return err
142 }
143 pe.length += 4 * len(in)
144 return nil
145}
146
147func (pe *prepEncoder) putNullableInt32Array(in []int32) error {
148 if in == nil {

Callers

nothing calls this directly

Calls 1

putArrayLengthMethod · 0.95

Tested by

no test coverage detected