(in []int32)
| 259 | } |
| 260 | |
| 261 | func (re *realFlexibleEncoder) putNullableInt32Array(in []int32) error { |
| 262 | if in == nil { |
| 263 | re.putUVarint(0) |
| 264 | return nil |
| 265 | } |
| 266 | // 0 represents a null array, so +1 has to be added |
| 267 | re.putUVarint(uint64(len(in)) + 1) |
| 268 | for _, val := range in { |
| 269 | re.putInt32(val) |
| 270 | } |
| 271 | return nil |
| 272 | } |
| 273 | |
| 274 | func (re *realFlexibleEncoder) putInt64Array(in []int64) error { |
| 275 | // 0 represents a null array, so +1 has to be added |
nothing calls this directly
no test coverage detected