Function lava_torrent::bencode::write::write_string
source · [−]pub fn write_string<S, W>(string: S, dst: &mut W) -> Result<(), LavaTorrentError> where
S: AsRef<str>,
W: Write,
Expand description
Encode string
and write the result to dst
.