Skip to main content

try_extend_offsets

Function try_extend_offsets 

Source
pub(super) fn try_extend_offsets<T: ArrowNativeType + Integer + CheckedAdd>(
    buffer: &mut MutableBuffer,
    last_offset: T,
    offsets: &[T],
) -> Result<(), ArrowError>
Expand description

Extends buffer with the re-based offsets from offsets, returning an error on overflow.