Function lava_torrent::bencode::write::encode_bytes [] [src]

pub fn encode_bytes(bytes: &[u8]) -> Vec<u8>

Encode bytes and return the result in a Vec.