Advance by as many values as provided or until exhaustion of the decoder. Return the number of values skipped.
| 379 | /// Advance by as many values as provided or until exhaustion of the decoder. |
| 380 | /// Return the number of values skipped. |
| 381 | [[nodiscard]] rle_size_t Advance(rle_size_t batch_size) { |
| 382 | const auto steps = std::min(batch_size, remaining()); |
| 383 | values_read_ += steps; |
| 384 | return steps; |
| 385 | } |
| 386 | |
| 387 | /// Advance and count the number of occurrence of a values. |
| 388 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected