WriteInt32Slice writes []int32 with ref/type info
(value []int32, refMode RefMode, writeTypeInfo bool)
| 278 | |
| 279 | // WriteInt32Slice writes []int32 with ref/type info |
| 280 | func (c *WriteContext) WriteInt32Slice(value []int32, refMode RefMode, writeTypeInfo bool) { |
| 281 | if refMode != RefModeNone { |
| 282 | if value == nil { |
| 283 | c.buffer.WriteInt8(NullFlag) |
| 284 | return |
| 285 | } |
| 286 | c.buffer.WriteInt8(NotNullValueFlag) |
| 287 | } |
| 288 | if writeTypeInfo { |
| 289 | c.WriteTypeId(INT32_ARRAY) |
| 290 | } |
| 291 | WriteInt32Slice(c.buffer, value) |
| 292 | } |
| 293 | |
| 294 | // WriteInt64Slice writes []int64 with ref/type info |
| 295 | func (c *WriteContext) WriteInt64Slice(value []int64, refMode RefMode, writeTypeInfo bool) { |
no test coverage detected