Write a 16-bit signed short to the buffer and increment its position.
Write a 16-bit unsigned short to the buffer and increment its position.