pub fn write_i32<W>(writer: W, value: i32) -> Result<usize, Error>where W: WriteBytesExt,
Writes an Kind::Int atom with the given value. Will encode in a smaller format if possible.
Kind::Int