(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
| 392 | } |
| 393 | |
| 394 | func (s uint64SliceSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 395 | done, typeId := readSliceRefAndType(ctx, refMode, readType, value) |
| 396 | if done || ctx.HasError() { |
| 397 | return |
| 398 | } |
| 399 | if readType && typeId != uint32(UINT64_ARRAY) { |
| 400 | ctx.SetError(DeserializationErrorf("slice type mismatch: expected UINT64_ARRAY (%d), got %d", UINT64_ARRAY, typeId)) |
| 401 | return |
| 402 | } |
| 403 | s.ReadData(ctx, value) |
| 404 | } |
| 405 | |
| 406 | func (s uint64SliceSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) { |
| 407 | s.Read(ctx, refMode, false, false, value) |
no test coverage detected