encodeInt32

Writes the given Int/Int32 to the array's current position, and then increments the position.