| 151 | } |
| 152 | |
| 153 | void skip_string(ReadContext &ctx) { |
| 154 | // Read string length + encoding |
| 155 | uint64_t size_encoding = ctx.read_var_uint64(ctx.error()); |
| 156 | if (FORY_PREDICT_FALSE(ctx.has_error())) { |
| 157 | return; |
| 158 | } |
| 159 | uint64_t size = size_encoding >> 2; |
| 160 | |
| 161 | // skip string data |
| 162 | ctx.buffer().increase_reader_index(size, ctx.error()); |
| 163 | } |
| 164 | |
| 165 | void skip_list(ReadContext &ctx, const FieldType &field_type) { |
| 166 | // Read list length |
no test coverage detected