WriteInt64Slice writes []int64 with ref/type info
(value []int64, refMode RefMode, writeTypeInfo bool)
| 293 | |
| 294 | // WriteInt64Slice writes []int64 with ref/type info |
| 295 | func (c *WriteContext) WriteInt64Slice(value []int64, refMode RefMode, writeTypeInfo bool) { |
| 296 | if refMode != RefModeNone { |
| 297 | if value == nil { |
| 298 | c.buffer.WriteInt8(NullFlag) |
| 299 | return |
| 300 | } |
| 301 | c.buffer.WriteInt8(NotNullValueFlag) |
| 302 | } |
| 303 | if writeTypeInfo { |
| 304 | c.WriteTypeId(INT64_ARRAY) |
| 305 | } |
| 306 | WriteInt64Slice(c.buffer, value) |
| 307 | } |
| 308 | |
| 309 | // WriteUint16Slice writes []uint16 with ref/type info |
| 310 | func (c *WriteContext) WriteUint16Slice(value []uint16, refMode RefMode, writeTypeInfo bool) { |
no test coverage detected