Skip to main content

decode

Function decode 

Source
pub fn decode(bytes: &[u8]) -> String
Expand description

Reads a source file’s bytes: UTF-8 when valid, otherwise one character per byte (Latin-1).