Function lava_torrent::bencode::write::write_raw_dictionary
source · pub fn write_raw_dictionary<W, S>(
dict: &HashMap<Vec<u8>, BencodeElem, S>,
dst: &mut W
) -> Result<(), LavaTorrentError>where
W: Write,
S: BuildHasher,
Expand description
Encode dict
and write the result to dst
.