encodeShort

abstract fun encodeShort(value: Short)

Writes the given Short into the array's current position, and then increments the position.