Function encoding_rs::mem::is_utf16_latin1
source · [−]Expand description
Checks whether the buffer represents only code point less than or equal to U+00FF.
May read the entire buffer even if it isn’t all-Latin1. (I.e. the function is not guaranteed to fail fast.)