encodeUInt64

Writes the given ULong/UInt64 to the array's current position, and then increments the position.