| 344 | } |
| 345 | |
| 346 | void Reset(const RunType& run, rle_size_t value_bit_width) noexcept { |
| 347 | ARROW_DCHECK_GE(value_bit_width, 0); |
| 348 | ARROW_DCHECK_LE(value_bit_width, 64); |
| 349 | data_ = run.raw_data_ptr(); |
| 350 | values_count_ = run.values_count(); |
| 351 | values_read_ = 0; |
| 352 | max_read_bytes_ = run.raw_data_max_size(); |
| 353 | } |
| 354 | |
| 355 | /// Return the number of values that can be advanced. |
| 356 | constexpr rle_size_t remaining() const { return values_count_ - values_read_; } |
nothing calls this directly
no test coverage detected