encodeFloat

Writes the given Float/Float32 to the array's current position, and then increments the position.