| 171 | constexpr const uint8_t* raw_data_ptr() const noexcept { return data_; } |
| 172 | |
| 173 | constexpr rle_size_t raw_data_size(rle_size_t value_bit_width) const noexcept { |
| 174 | auto out = bit_util::BytesForBits(static_cast<int64_t>(value_bit_width) * |
| 175 | static_cast<int64_t>(values_count_)); |
| 176 | ARROW_DCHECK_LE(out, std::numeric_limits<rle_size_t>::max()); |
| 177 | return static_cast<rle_size_t>(out); |
| 178 | } |
| 179 | |
| 180 | /// Maximum number of bytes allowed to be read in the buffer. |
| 181 | /// This is used for unpacking operations that may need to read more bytes than they |
nothing calls this directly
no test coverage detected