Function encoding_rs::mem::is_str_latin1
source · [−]Expand description
Checks whether the buffer represents only code points less than or equal to U+00FF.
Fails fast. (I.e. returns before having read the whole buffer if code points above U+00FF are discovered.