safeDecodeUnsignedInteger

Reads dataSize number of bytes from the array's current position, and then increments the position. Returns the unsigned value encoded as a Long. If there are not enough bytes in the array, it assumes that the remaining length is padded with zeroes.