the second function? I can't understand the reason given.
https://en.wikipedia.org/wiki/Data_structure_alignment#Problems
packed is good when you are writing a protocol and you want to read directly a buffer into a struct after parsing the preamble, for the header and body of the packet
Обсуждают сегодня