Function string_from_slice

Source
pub(crate) fn string_from_slice(
    slice: &[u8],
    range: Range<usize>,
) -> Result<&str, ArrowError>
Expand description

Helper to get a &str from a slice based on range, if it’s valid or an error otherwise