Skip to main content

dyn_from_bytes

Function dyn_from_bytes 

Source
pub fn dyn_from_bytes<'de, BufT>(
    buf: &'de [u8],
) -> Result<BencodeValue<BufT>, ErrorWithContext<'de>>
where BufT: From<&'de [u8]> + Hash + Eq,