Skip to main content

validate_utf8_compat

Function validate_utf8_compat 

Source
pub(crate) unsafe fn validate_utf8_compat(input: &[u8]) -> Result<(), Utf8Error>
Expand description

Fn needed instead of re-import, otherwise not inlined in non-std case