pub fn decode(enc: CharEncoding, input: &[u8]) -> Result<String>Expand description
Decodes a byte slice into a Unicode string using the specified character encoding.
pub fn decode(enc: CharEncoding, input: &[u8]) -> Result<String>Decodes a byte slice into a Unicode string using the specified character encoding.