WriteInt32Int32Map writes map[int32]int32 with ref/type info
(value map[int32]int32, refMode RefMode, writeTypeInfo bool)
| 543 | |
| 544 | // WriteInt32Int32Map writes map[int32]int32 with ref/type info |
| 545 | func (c *WriteContext) WriteInt32Int32Map(value map[int32]int32, refMode RefMode, writeTypeInfo bool) { |
| 546 | if refMode != RefModeNone { |
| 547 | if value == nil { |
| 548 | c.buffer.WriteInt8(NullFlag) |
| 549 | return |
| 550 | } |
| 551 | c.buffer.WriteInt8(NotNullValueFlag) |
| 552 | } |
| 553 | if writeTypeInfo { |
| 554 | c.WriteTypeId(MAP) |
| 555 | } |
| 556 | writeMapInt32Int32(c.buffer, value, false) |
| 557 | } |
| 558 | |
| 559 | // WriteInt64Int64Map writes map[int64]int64 with ref/type info |
| 560 | func (c *WriteContext) WriteInt64Int64Map(value map[int64]int64, refMode RefMode, writeTypeInfo bool) { |
nothing calls this directly
no test coverage detected