Decodes a string view array from `rows` with the provided `options` # Safety The row must contain valid UTF-8 data
(
rows: &mut [&[u8]],
options: SortOptions,
validate_utf8: bool,
)
| 430 | /// |
| 431 | /// The row must contain valid UTF-8 data |
| 432 | pub unsafe fn decode_string_view( |
| 433 | rows: &mut [&[u8]], |
| 434 | options: SortOptions, |
| 435 | validate_utf8: bool, |
| 436 | ) -> StringViewArray { |
| 437 | let view = decode_binary_view_inner(rows, options, validate_utf8); |
| 438 | unsafe { view.to_string_view_unchecked() } |
| 439 | } |
| 440 | |
| 441 | pub fn decode_null_value(rows: &mut [&[u8]], options: SortOptions) { |
| 442 | for row in rows.iter_mut() { |
nothing calls this directly
no test coverage detected