(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
| 587 | } |
| 588 | |
| 589 | func (s float64Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 590 | err := ctx.Err() |
| 591 | if refMode != RefModeNone { |
| 592 | if ctx.buffer.ReadInt8(err) == NullFlag { |
| 593 | return |
| 594 | } |
| 595 | } |
| 596 | if readType && !ctx.readExpectedTypeID(FLOAT64) { |
| 597 | return |
| 598 | } |
| 599 | if ctx.HasError() { |
| 600 | return |
| 601 | } |
| 602 | s.ReadData(ctx, value) |
| 603 | } |
| 604 | |
| 605 | func (s float64Serializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) { |
| 606 | s.Read(ctx, refMode, false, false, value) |
no test coverage detected