Function encoding_rs::ascii::validate_ascii_stride

source ยท
unsafe fn validate_ascii_stride(src: *const usize) -> Option<usize>
Expand description

Safety: src must be valid for the reads of two usizes

Safety-usable invariant: will return byte index of first non-ascii byte