Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cpp/src/arrow/util/rle_encoding_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ class RleDecoder {
}

/// Gets the next value. Returns false if there are no more.
///
/// NB: Because the encoding only supports literal runs with lengths
/// that are multiples of 8, RleEncoder sometimes pads the end of its
/// input with zeros. Since the encoding does not differentiate between
/// input values and padding, Get() returns true even for these padding
/// values.
template <typename T>
bool Get(T* val);

Expand Down