Get a batch of values from the current run and return the number elements read.
| 496 | |
| 497 | /// Get a batch of values from the current run and return the number elements read. |
| 498 | [[nodiscard]] rle_size_t RunGetBatch(value_type* out, rle_size_t batch_size) { |
| 499 | return std::visit( |
| 500 | [&](auto& dec) { return dec.GetBatch(out, batch_size, value_bit_width_); }, |
| 501 | decoder_); |
| 502 | } |
| 503 | |
| 504 | /// Call the parser with a single callable for all event types. |
| 505 | template <typename Callable> |