(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value)
| 893 | } |
| 894 | |
| 895 | func (s stringIntMapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) { |
| 896 | done := writeMapRefAndType(ctx, refMode, writeType, value) |
| 897 | if done || ctx.HasError() { |
| 898 | return |
| 899 | } |
| 900 | writeMapStringInt(ctx.buffer, value.Interface().(map[string]int), hasGenerics) |
| 901 | } |
| 902 | |
| 903 | func (s stringIntMapSerializer) ReadData(ctx *ReadContext, value reflect.Value) { |
| 904 | if value.IsNil() { |
nothing calls this directly
no test coverage detected