arrow_array::array

Function get_offsets

Source
unsafe fn get_offsets<O: ArrowNativeType>(data: &ArrayData) -> OffsetBuffer<O>
Expand description

Helper function that gets offset from an ArrayData

ยงSafety

  • ArrayData must contain a valid [OffsetBuffer] as its first buffer