Function encoding_rs::ascii::ascii_to_basic_latin
source ยท pub unsafe fn ascii_to_basic_latin(
src: *const u8,
dst: *mut u16,
len: usize,
) -> Option<(u8, usize)>
Expand description
Safety: src and dst must have len elements, src is valid for read, dst is valid for write Safety-usable invariant: will return Some() when it fails to convert. The first value will be a u8 that is > 127.