Function parquet2::page::split_buffer_v1
source · pub fn split_buffer_v1(
buffer: &[u8],
has_rep: bool,
has_def: bool
) -> Result<(&[u8], &[u8], &[u8])>
Expand description
Splits the page buffer into 3 slices corresponding to (encoded rep levels, encoded def levels, encoded values) for v1 pages.