ReadStringSlice reads []string with optional ref/type info using LIST protocol
(refMode RefMode, readType bool)
| 527 | |
| 528 | // ReadStringSlice reads []string with optional ref/type info using LIST protocol |
| 529 | func (c *ReadContext) ReadStringSlice(refMode RefMode, readType bool) []string { |
| 530 | err := c.Err() |
| 531 | if refMode != RefModeNone { |
| 532 | if c.buffer.ReadInt8(err) == NullFlag { |
| 533 | return nil |
| 534 | } |
| 535 | } |
| 536 | if readType { |
| 537 | _ = c.buffer.ReadUint8(err) |
| 538 | } |
| 539 | return ReadStringSlice(c.buffer, err) |
| 540 | } |
| 541 | |
| 542 | // ReadStringStringMap reads map[string]string with optional ref/type info |
| 543 | func (c *ReadContext) ReadStringStringMap(refMode RefMode, readType bool) map[string]string { |
no test coverage detected