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