| 365 | } |
| 366 | |
| 367 | void Reset(const RunType& run, rle_size_t value_bit_width) noexcept { |
| 368 | ARROW_DCHECK_GE(value_bit_width, 0); |
| 369 | ARROW_DCHECK_LE(value_bit_width, 64); |
| 370 | data_ = run.raw_data_ptr(); |
| 371 | values_count_ = run.values_count(); |
| 372 | values_read_ = 0; |
| 373 | max_read_bytes_ = run.raw_data_max_size(); |
| 374 | } |
| 375 | |
| 376 | /// Return the number of values that can be advanced. |
| 377 | constexpr rle_size_t remaining() const { return values_count_ - values_read_; } |
nothing calls this directly
no test coverage detected