ReadStringBoolMap reads map[string]bool with optional ref/type info
(refMode RefMode, readType bool)
| 611 | |
| 612 | // ReadStringBoolMap reads map[string]bool with optional ref/type info |
| 613 | func (c *ReadContext) ReadStringBoolMap(refMode RefMode, readType bool) map[string]bool { |
| 614 | err := c.Err() |
| 615 | if refMode != RefModeNone { |
| 616 | if c.buffer.ReadInt8(err) == NullFlag { |
| 617 | return nil |
| 618 | } |
| 619 | } |
| 620 | if readType && !c.readExpectedTypeID(MAP) { |
| 621 | return nil |
| 622 | } |
| 623 | return readMapStringBool(c) |
| 624 | } |
| 625 | |
| 626 | // ReadInt32Int32Map reads map[int32]int32 with optional ref/type info |
| 627 | func (c *ReadContext) ReadInt32Int32Map(refMode RefMode, readType bool) map[int32]int32 { |
no test coverage detected