pub fn write_i16<W>(writer: W, value: i16) -> 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