Get a batch of values from the current run and return the number elements read.
| 502 | |
| 503 | /// Get a batch of values from the current run and return the number elements read. |
| 504 | [[nodiscard]] rle_size_t RunGetBatch(value_type* out, rle_size_t batch_size) { |
| 505 | return std::visit( |
| 506 | [&](auto& dec) { return dec.GetBatch(out, batch_size, value_bit_width_); }, |
| 507 | decoder_); |
| 508 | } |
| 509 | |
| 510 | /// Utility methods for retrieving spaced values. |
| 511 | template <typename Converter> |