Little Endian BIT Ordering

0 votes
asked Oct 10, 2019 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, 2019 by andreas (3,160 points)

Usually endianness refers to byte order, not bit order (see

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

commented Oct 14, 2019 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.