5 ms·
Correct me if I'm wrong: Does this mean something like (pseudo-C): struct weird_bit_field { uint8_t x : 32; }; i.e. an 8-bit int that takes 4 b
by PeCaN 11y ago
Correct me if I'm wrong:
Does this mean something like (pseudo-C):
struct weird_bit_field {
uint8_t x : 32;
};
i.e. an 8-bit int that takes 4 bytes of space? Or am I misunderstanding something?