pub(crate) unsafe fn validate_utf8_basic(input: &[u8]) -> Result<(), Utf8Error>
Fn needed instead of re-import, otherwise not inlined in non-std case