Skip to main content

decode_string_view

Function decode_string_view 

Source
pub unsafe fn decode_string_view(
    rows: &mut [&[u8]],
    options: SortOptions,
    validate_utf8: bool,
) -> Result<StringViewArray, ArrowError>
Expand description

Decodes a string view array from rows with the provided options

ยงSafety

The row must contain valid UTF-8 data

Returns an error if the non-inlined values are longer than i32::MAX bytes, the most a single data buffer can address