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

Method putInt32Array

real_encoder.go:139–148  ·  view source on GitHub ↗
(in []int32)

Source from the content-addressed store, hash-verified

137}
138
139func (re *realEncoder) putInt32Array(in []int32) error {
140 err := re.putArrayLength(len(in))
141 if err != nil {
142 return err
143 }
144 for _, val := range in {
145 re.putInt32(val)
146 }
147 return nil
148}
149
150func (re *realEncoder) putNullableInt32Array(in []int32) error {
151 if in == nil {

Callers

nothing calls this directly

Calls 2

putArrayLengthMethod · 0.95
putInt32Method · 0.95

Tested by

no test coverage detected