2 ms·
> IIRC the memory layout of bitfields is not specified so you can't use them to portably destructure binary streams This is true, but for many of us in the emb
by bsder 10y ago
> IIRC the memory layout of bitfields is not specified so you can't use them to portably destructure binary streams
This is true, but for many of us in the embedded world, we use the specific packing anyway. I know my endianness, and I know my compiler--so my structs map straight across.