polars_arrow::array::specification

Function try_check_utf8

Source
pub fn try_check_utf8<O: Offset>(
    offsets: &[O],
    values: &[u8],
) -> PolarsResult<()>
Expand description

ยงError

  • any offset is larger or equal to values_len.
  • any slice of values between two consecutive pairs from offsets is invalid utf8, or