C++/Go Packed Structures Part 1
Now, this is a mess. Imagine you have this kind of structure in C++: struct __attribute__((packed, aligned(1)))) packed { char a; char *b; int c; }; This tells the compiler…
Now, this is a mess. Imagine you have this kind of structure in C++: struct __attribute__((packed, aligned(1)))) packed { char a; char *b; int c; }; This tells the compiler…