[Issue 23573] std.bitmanip.bitfields doesn't respect native endianness

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 22 20:51:41 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23573

--- Comment #8 from johanengelen at weka.io ---
(In reply to elpenguino+D from comment #7)
> I think the problem is that 'least significant bit' is undefined here, since
> the term is defined according to the data, not endianness.

That's why I wrote this to define what LSB means:  `value & 0x1` giving the
value of the LSB

--


More information about the Digitalmars-d-bugs mailing list