(ctx *ReadContext, typeID uint32)
| 221 | } |
| 222 | |
| 223 | func readKnownTypeInfoForSkip(ctx *ReadContext, typeID uint32) *TypeInfo { |
| 224 | typeInfo := ctx.TypeResolver().readTypeInfoWithTypeID(ctx.buffer, typeID, ctx.Err()) |
| 225 | if ctx.HasError() { |
| 226 | return nil |
| 227 | } |
| 228 | if typeInfo == nil { |
| 229 | ctx.SetError(DeserializationErrorf("cannot skip type %d: type info not found", typeID)) |
| 230 | } |
| 231 | return typeInfo |
| 232 | } |
| 233 | |
| 234 | // skipCollection skips a collection (list/set) value |
| 235 | // Uses context error state for deferred error checking. |
no test coverage detected