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.