(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
| 543 | } |
| 544 | |
| 545 | func (s float32Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 546 | err := ctx.Err() |
| 547 | if refMode != RefModeNone { |
| 548 | if ctx.buffer.ReadInt8(err) == NullFlag { |
| 549 | return |
| 550 | } |
| 551 | } |
| 552 | if readType && !ctx.readExpectedTypeID(FLOAT32) { |
| 553 | return |
| 554 | } |
| 555 | if ctx.HasError() { |
| 556 | return |
| 557 | } |
| 558 | s.ReadData(ctx, value) |
| 559 | } |
| 560 | |
| 561 | func (s float32Serializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) { |
| 562 | s.Read(ctx, refMode, false, false, value) |
no test coverage detected