Skip to main content

decode_bytes

Function decode_bytes 

Source
pub fn decode_bytes(label: Option<&str>, bytes: &[u8]) -> String
Expand description

Decode bytes using Git’s encoding name, or lossy UTF-8 if unknown.