Little Endian BIT Ordering

0 votes
asked Oct 10 in Hexinator by lambdaknight (120 points)
Hey there,

I have a one byte long field that is in little endian bit ordering. Unfortunately, no matter what endianness I select, it is still treated as big endian bit ordering. Is there any way to fix this? Thanks.

1 Answer

0 votes
answered Oct 10 by andreas (2,440 points)

Usually endianness refers to byte order, not bit order (see https://en.wikipedia.org/wiki/Endianness).

Should the byte long field be interpreted as an integer number but doesn't show the value you expect?

commented Oct 14 by lambdaknight (120 points)
Correct. I guess I should request bit-level endianess as a feature then? I found a work around via scripting. Though readUnsignedIntBits also has issues with bit-level endianness (Issue 1764), so I have to pull the bits in one at a time.
...