Function encoding_rs::ascii::ascii_to_ascii
source ยท pub unsafe fn ascii_to_ascii(
src: *const u8,
dst: *mut u8,
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.