WriteInt8Slice writes []int8 with ref/type info
(value []int8, refMode RefMode, writeTypeInfo bool)
| 248 | |
| 249 | // WriteInt8Slice writes []int8 with ref/type info |
| 250 | func (c *WriteContext) WriteInt8Slice(value []int8, refMode RefMode, writeTypeInfo bool) { |
| 251 | if refMode != RefModeNone { |
| 252 | if value == nil { |
| 253 | c.buffer.WriteInt8(NullFlag) |
| 254 | return |
| 255 | } |
| 256 | c.buffer.WriteInt8(NotNullValueFlag) |
| 257 | } |
| 258 | if writeTypeInfo { |
| 259 | c.WriteTypeId(INT8_ARRAY) |
| 260 | } |
| 261 | WriteInt8Slice(c.buffer, value) |
| 262 | } |
| 263 | |
| 264 | // WriteInt16Slice writes []int16 with ref/type info |
| 265 | func (c *WriteContext) WriteInt16Slice(value []int16, refMode RefMode, writeTypeInfo bool) { |
no test coverage detected