(ctx *ReadContext, value reflect.Value)
| 2827 | } |
| 2828 | |
| 2829 | func (s *skipStructSerializer) ReadData(ctx *ReadContext, value reflect.Value) { |
| 2830 | // Skip all fields based on fieldDefs from remote TypeDef |
| 2831 | for _, fieldDef := range s.fieldDefs { |
| 2832 | isStructType := isStructFieldType(fieldDef.typeSpec) |
| 2833 | SkipFieldValueWithTypeFlag(ctx, fieldDef, fieldDef.trackRef, ctx.Compatible() && isStructType) |
| 2834 | if ctx.HasError() { |
| 2835 | return |
| 2836 | } |
| 2837 | } |
| 2838 | } |
| 2839 | |
| 2840 | func (s *skipStructSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 2841 | buf := ctx.Buffer() |
no test coverage detected