Advance by as many values as provided or until exhaustion of the decoder. Return the number of values skipped.
| 106 | /// Advance by as many values as provided or until exhaustion of the decoder. |
| 107 | /// Return the number of values skipped. |
| 108 | [[nodiscard]] rle_size_t Advance(rle_size_t batch_size) { |
| 109 | const auto n_vals = GetAdvanceCapacity(batch_size); |
| 110 | values_left_ -= n_vals; |
| 111 | ARROW_DCHECK_GE(remaining(), 0); |
| 112 | return n_vals; |
| 113 | } |
| 114 | |
| 115 | /// Read the next value into `out` and return false if there are no more. |
| 116 | [[nodiscard]] bool Get(BitmapSpanMut out) { return GetBatch(out, 1) == 1; } |
nothing calls this directly
no outgoing calls
no test coverage detected