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