(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
| 468 | } |
| 469 | |
| 470 | func (s float64SliceSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 471 | done, typeId := readSliceRefAndType(ctx, refMode, readType, value) |
| 472 | if done || ctx.HasError() { |
| 473 | return |
| 474 | } |
| 475 | if readType && typeId != uint32(FLOAT64_ARRAY) { |
| 476 | ctx.SetError(DeserializationErrorf("slice type mismatch: expected FLOAT64_ARRAY (%d), got %d", FLOAT64_ARRAY, typeId)) |
| 477 | return |
| 478 | } |
| 479 | s.ReadData(ctx, value) |
| 480 | } |
| 481 | |
| 482 | func (s float64SliceSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) { |
| 483 | s.Read(ctx, refMode, false, false, value) |
no test coverage detected