Function lava_torrent::bencode::write::encode_list
source · pub fn encode_list<L>(list: L) -> Vec<u8>where
L: AsRef<[BencodeElem]>,
Expand description
Encode list
and return the result in a Vec
.
pub fn encode_list<L>(list: L) -> Vec<u8>where
L: AsRef<[BencodeElem]>,
Encode list
and return the result in a Vec
.