pub fn write_i32<W>(writer: W, value: i32) -> Result<usize, Error>
where W: WriteBytesExt,
Expand description

Writes an Kind::Int atom with the given value. Will encode in a smaller format if possible.