encodeInt

abstract fun encodeInt(value: Int)

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