(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
| 645 | } |
| 646 | |
| 647 | func (s float16Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 648 | err := ctx.Err() |
| 649 | if refMode != RefModeNone { |
| 650 | if ctx.buffer.ReadInt8(err) == NullFlag { |
| 651 | return |
| 652 | } |
| 653 | } |
| 654 | if readType && !ctx.readExpectedTypeID(FLOAT16) { |
| 655 | return |
| 656 | } |
| 657 | if ctx.HasError() { |
| 658 | return |
| 659 | } |
| 660 | s.ReadData(ctx, value) |
| 661 | } |
| 662 | |
| 663 | func (s float16Serializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) { |
| 664 | s.Read(ctx, refMode, false, false, value) |
no test coverage detected