WriteStringInt64Map writes map[string]int64 with ref/type info
(value map[string]int64, refMode RefMode, writeTypeInfo bool)
| 468 | |
| 469 | // WriteStringInt64Map writes map[string]int64 with ref/type info |
| 470 | func (c *WriteContext) WriteStringInt64Map(value map[string]int64, refMode RefMode, writeTypeInfo bool) { |
| 471 | if refMode != RefModeNone { |
| 472 | if value == nil { |
| 473 | c.buffer.WriteInt8(NullFlag) |
| 474 | return |
| 475 | } |
| 476 | c.buffer.WriteInt8(NotNullValueFlag) |
| 477 | } |
| 478 | if writeTypeInfo { |
| 479 | c.WriteTypeId(MAP) |
| 480 | } |
| 481 | writeMapStringInt64(c.buffer, value, false) |
| 482 | } |
| 483 | |
| 484 | // WriteStringInt32Map writes map[string]int32 with ref/type info |
| 485 | func (c *WriteContext) WriteStringInt32Map(value map[string]int32, refMode RefMode, writeTypeInfo bool) { |
no test coverage detected