ReadStringInt32Map reads map[string]int32 with optional ref/type info
(refMode RefMode, readType bool)
| 569 | |
| 570 | // ReadStringInt32Map reads map[string]int32 with optional ref/type info |
| 571 | func (c *ReadContext) ReadStringInt32Map(refMode RefMode, readType bool) map[string]int32 { |
| 572 | err := c.Err() |
| 573 | if refMode != RefModeNone { |
| 574 | if c.buffer.ReadInt8(err) == NullFlag { |
| 575 | return nil |
| 576 | } |
| 577 | } |
| 578 | if readType && !c.readExpectedTypeID(MAP) { |
| 579 | return nil |
| 580 | } |
| 581 | return readMapStringInt32(c) |
| 582 | } |
| 583 | |
| 584 | // ReadStringIntMap reads map[string]int with optional ref/type info |
| 585 | func (c *ReadContext) ReadStringIntMap(refMode RefMode, readType bool) map[string]int { |
no test coverage detected