| 2278 | |
| 2279 | protected: |
| 2280 | int DecodeRaw(uint8_t* out_buffer, int max_values) { |
| 2281 | const int values_to_decode = std::min(this->num_values_, max_values); |
| 2282 | ::arrow::util::internal::ByteStreamSplitDecode(this->data_, this->type_length_, |
| 2283 | values_to_decode, stride_, out_buffer); |
| 2284 | this->data_ += values_to_decode; |
| 2285 | this->num_values_ -= values_to_decode; |
| 2286 | this->len_ -= this->type_length_ * values_to_decode; |
| 2287 | return values_to_decode; |
| 2288 | } |
| 2289 | |
| 2290 | uint8_t* EnsureDecodeBuffer(int64_t min_values) { |
| 2291 | const int64_t size = this->type_length_ * min_values; |
no test coverage detected