(ctx *ReadContext, value reflect.Value)
| 193 | } |
| 194 | |
| 195 | func (s encodedUint32Serializer) ReadData(ctx *ReadContext, value reflect.Value) { |
| 196 | err := ctx.Err() |
| 197 | switch s.typeID { |
| 198 | case UINT32: |
| 199 | value.SetUint(uint64(ctx.buffer.ReadUint32(err))) |
| 200 | default: |
| 201 | value.SetUint(uint64(ctx.buffer.ReadVarUint32(err))) |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | func (s encodedUint32Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 206 | _ = hasGenerics |
no test coverage detected