WriteInt64Int64Map writes map[int64]int64 with ref/type info
(value map[int64]int64, refMode RefMode, writeTypeInfo bool)
| 558 | |
| 559 | // WriteInt64Int64Map writes map[int64]int64 with ref/type info |
| 560 | func (c *WriteContext) WriteInt64Int64Map(value map[int64]int64, refMode RefMode, writeTypeInfo bool) { |
| 561 | if refMode != RefModeNone { |
| 562 | if value == nil { |
| 563 | c.buffer.WriteInt8(NullFlag) |
| 564 | return |
| 565 | } |
| 566 | c.buffer.WriteInt8(NotNullValueFlag) |
| 567 | } |
| 568 | if writeTypeInfo { |
| 569 | c.WriteTypeId(MAP) |
| 570 | } |
| 571 | writeMapInt64Int64(c.buffer, value, false) |
| 572 | } |
| 573 | |
| 574 | // WriteIntIntMap writes map[int]int with ref/type info |
| 575 | func (c *WriteContext) WriteIntIntMap(value map[int]int, refMode RefMode, writeTypeInfo bool) { |
nothing calls this directly
no test coverage detected