I have a byte array,
[102, 100, 51, 52, 48, 48]
Which has the hex string representation:
"fd3400"
Which if I convert it to a number, shows as being 16593920.
However, when I convert it using the snippet below
int iSec = ByteBuffer.wrap(bSec).order(ByteOrder.LITTLE_ENDIAN).getInt();
I get the result: 875783270. The bytes are supposed to be in LSB format, but I can't seem to get the correct value out, as 875783270 != 16593920. I'm getting kind of confused with these data formats.