| 791 | |
| 792 | template <typename Handler> |
| 793 | void RleBitPackedParser::Parse(Handler&& handler) { |
| 794 | while (!exhausted()) { |
| 795 | auto [read, control] = PeekImpl(handler); |
| 796 | data_ += read; |
| 797 | data_size_ -= read; |
| 798 | if (ARROW_PREDICT_FALSE(control == ControlFlow::Break)) { |
| 799 | break; |
| 800 | } |
| 801 | } |
| 802 | } |
| 803 | |
| 804 | template <typename Callable> |
| 805 | void RleBitPackedParser::ParseWithCallable(Callable&& func) { |
nothing calls this directly
no outgoing calls
no test coverage detected