(ctx *WriteContext, value reflect.Value)
| 118 | } |
| 119 | |
| 120 | func (s encodedInt32Serializer) WriteData(ctx *WriteContext, value reflect.Value) { |
| 121 | switch s.typeID { |
| 122 | case INT32: |
| 123 | ctx.buffer.WriteInt32(int32(value.Int())) |
| 124 | default: |
| 125 | ctx.buffer.WriteVarint32(int32(value.Int())) |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | func (s encodedInt32Serializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) { |
| 130 | _ = hasGenerics |
no test coverage detected