| 202 | explicit BitPackedRunToBitmapDecoder(const RunType& run) noexcept { Reset(run); } |
| 203 | |
| 204 | void Reset(const RunType& run) noexcept { |
| 205 | data_ = run.raw_data_ptr(); |
| 206 | values_count_ = run.values_count(); |
| 207 | values_read_ = 0; |
| 208 | ARROW_DCHECK(run.raw_data_max_size() < 0 || |
| 209 | bit_util::BytesForBits(values_count_) <= run.raw_data_max_size()); |
| 210 | } |
| 211 | |
| 212 | /// Return the number of values that can be advanced. |
| 213 | constexpr rle_size_t remaining() const { return values_count_ - values_read_; } |
nothing calls this directly
no test coverage detected