Skip to main content

decode

Function decode 

Source
pub fn decode(bytes: &[u8]) -> Cow<'_, str>
Expand description

Convenience wrapper returning Cow::Borrowed for pure-ASCII input, Cow::Owned otherwise.