from_bytes

Function from_bytes 

Source
pub fn from_bytes(bytes: &[u8]) -> Result<Bencode, BencodeParserError>
Expand description

Attempts to parse the given bytes into a Bencode object.