Fix for ByteArray.writeFloat() issue #231