Function encoding_rs::mem::decode_latin1
source · [−]Expand description
Converts bytes whose unsigned value is interpreted as Unicode code point (i.e. U+0000 to U+00FF, inclusive) to UTF-8.
Borrows if input is ASCII-only. Performs a single heap allocation otherwise.