Function lava_torrent::bencode::write::encode_dictionary
source · [−]pub fn encode_dictionary<S>(dict: &HashMap<String, BencodeElem, S>) -> Vec<u8> where
S: BuildHasher,
Expand description
Encode dict
and return the result in a Vec
.