pub fn write_bytes<B, W>(bytes: B, dst: &mut W) -> Result<(), LavaTorrentError>where
    B: AsRef<[u8]>,
    W: Write,
Expand description

Encode bytes and write the result to dst.