Function lava_torrent::bencode::write::write_integer
source · pub fn write_integer<W>(int: i64, dst: &mut W) -> Result<(), LavaTorrentError>where
W: Write,
Expand description
Encode int
and write the result to dst
.