(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
| 126 | } |
| 127 | |
| 128 | func (s boolSliceSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 129 | done, typeId := readSliceRefAndType(ctx, refMode, readType, value) |
| 130 | if done || ctx.HasError() { |
| 131 | return |
| 132 | } |
| 133 | if readType && typeId != uint32(BOOL_ARRAY) { |
| 134 | ctx.SetError(DeserializationErrorf("slice type mismatch: expected BOOL_ARRAY (%d), got %d", BOOL_ARRAY, typeId)) |
| 135 | return |
| 136 | } |
| 137 | s.ReadData(ctx, value) |
| 138 | } |
| 139 | |
| 140 | func (s boolSliceSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) { |
| 141 | s.Read(ctx, refMode, false, false, value) |
no test coverage detected