ReadUint64Slice reads []uint64 with optional ref/type info
(refMode RefMode, readType bool)
| 410 | |
| 411 | // ReadUint64Slice reads []uint64 with optional ref/type info |
| 412 | func (c *ReadContext) ReadUint64Slice(refMode RefMode, readType bool) []uint64 { |
| 413 | err := c.Err() |
| 414 | if refMode != RefModeNone { |
| 415 | if c.buffer.ReadInt8(err) == NullFlag { |
| 416 | return nil |
| 417 | } |
| 418 | } |
| 419 | if readType { |
| 420 | actual := TypeId(c.buffer.ReadUint8(err)) |
| 421 | if actual != UINT64_ARRAY { |
| 422 | c.SetError(TypeMismatchError(actual, UINT64_ARRAY)) |
| 423 | return nil |
| 424 | } |
| 425 | } |
| 426 | return ReadUint64Slice(c.buffer, err) |
| 427 | } |
| 428 | |
| 429 | // ReadIntSlice reads []int with optional ref/type info |
| 430 | func (c *ReadContext) ReadIntSlice(refMode RefMode, readType bool) []int { |
no test coverage detected