M
Mohun Biswas
Ok, what am I missing? The primitive type 'long' in Java is defined to
be 64 bits, period, while 'int' is 32. But the getValue() method of the
CRC32 class in java.util.zip returns long! Isn't a CRC32 *guaranteed* to
return 32 bits?
This isn't just academic - it's messing me up a bit because I want to
store a crc32 in the "low" word of a 64-bit quantity and place another
32-bit value in the high word for transmission purposes.
Thanks,
MB
be 64 bits, period, while 'int' is 32. But the getValue() method of the
CRC32 class in java.util.zip returns long! Isn't a CRC32 *guaranteed* to
return 32 bits?
This isn't just academic - it's messing me up a bit because I want to
store a crc32 in the "low" word of a 64-bit quantity and place another
32-bit value in the high word for transmission purposes.
Thanks,
MB