WriteFloat64Slice writes []float64 with ref/type info
(value []float64, refMode RefMode, writeTypeInfo bool)
| 406 | |
| 407 | // WriteFloat64Slice writes []float64 with ref/type info |
| 408 | func (c *WriteContext) WriteFloat64Slice(value []float64, refMode RefMode, writeTypeInfo bool) { |
| 409 | if refMode != RefModeNone { |
| 410 | if value == nil { |
| 411 | c.buffer.WriteInt8(NullFlag) |
| 412 | return |
| 413 | } |
| 414 | c.buffer.WriteInt8(NotNullValueFlag) |
| 415 | } |
| 416 | if writeTypeInfo { |
| 417 | c.WriteTypeId(FLOAT64_ARRAY) |
| 418 | } |
| 419 | WriteFloat64Slice(c.buffer, value) |
| 420 | } |
| 421 | |
| 422 | // WriteByteSlice writes []byte with ref/type info |
| 423 | func (c *WriteContext) WriteByteSlice(value []byte, refMode RefMode, writeTypeInfo bool) { |
no test coverage detected