Made a change for the calculation of the longs. We were receiving incorrect numbers, so used a class instead of bitwise shifting.
Still needs to be tested, but if this fails, it most likely can be easily fixed by changing the call or changing it to BIG_ENDIAN format.
I strongly believe it is little endian format nonetheless.