ReadStringIntMap reads map[string]int with optional ref/type info
(refMode RefMode, readType bool)
| 583 | |
| 584 | // ReadStringIntMap reads map[string]int with optional ref/type info |
| 585 | func (c *ReadContext) ReadStringIntMap(refMode RefMode, readType bool) map[string]int { |
| 586 | err := c.Err() |
| 587 | if refMode != RefModeNone { |
| 588 | if c.buffer.ReadInt8(err) == NullFlag { |
| 589 | return nil |
| 590 | } |
| 591 | } |
| 592 | if readType && !c.readExpectedTypeID(MAP) { |
| 593 | return nil |
| 594 | } |
| 595 | return readMapStringInt(c) |
| 596 | } |
| 597 | |
| 598 | // ReadStringFloat64Map reads map[string]float64 with optional ref/type info |
| 599 | func (c *ReadContext) ReadStringFloat64Map(refMode RefMode, readType bool) map[string]float64 { |
no test coverage detected