(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
| 278 | } |
| 279 | |
| 280 | func (s int64SliceSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 281 | done, typeId := readSliceRefAndType(ctx, refMode, readType, value) |
| 282 | if done || ctx.HasError() { |
| 283 | return |
| 284 | } |
| 285 | if readType && typeId != uint32(INT64_ARRAY) { |
| 286 | ctx.SetError(DeserializationErrorf("slice type mismatch: expected INT64_ARRAY (%d), got %d", INT64_ARRAY, typeId)) |
| 287 | return |
| 288 | } |
| 289 | s.ReadData(ctx, value) |
| 290 | } |
| 291 | |
| 292 | func (s int64SliceSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) { |
| 293 | s.Read(ctx, refMode, false, false, value) |
no test coverage detected