arrow_ipc::writer

Function reencode_offsets

Source
fn reencode_offsets<O: OffsetSizeTrait>(
    offsets: &Buffer,
    data: &ArrayData,
) -> (Buffer, usize, usize)
Expand description

Common functionality for re-encoding offsets. Returns the new offsets as well as original start offset and length for use in slicing child data.