(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
| 240 | } |
| 241 | |
| 242 | func (s int32SliceSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 243 | done, typeId := readSliceRefAndType(ctx, refMode, readType, value) |
| 244 | if done || ctx.HasError() { |
| 245 | return |
| 246 | } |
| 247 | if readType && typeId != uint32(INT32_ARRAY) { |
| 248 | ctx.SetError(DeserializationErrorf("slice type mismatch: expected INT32_ARRAY (%d), got %d", INT32_ARRAY, typeId)) |
| 249 | return |
| 250 | } |
| 251 | s.ReadData(ctx, value) |
| 252 | } |
| 253 | |
| 254 | func (s int32SliceSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) { |
| 255 | s.Read(ctx, refMode, false, false, value) |
no test coverage detected