Function lava_torrent::bencode::write::encode_integer
source · pub fn encode_integer(int: i64) -> Vec<u8>
Expand description
Encode int
and return the result in a Vec
.
pub fn encode_integer(int: i64) -> Vec<u8>
Encode int
and return the result in a Vec
.