Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
pjc50
20d ago
0 comments
Share
Sure, if your structure doesn't contain any pointers and you only ever want to support one endianness and you trust your compiler to fix the machine layout of the struct forever.
0 comments
default
newest
oldest
zadikian
20d ago
Mainly the first thing. If your struct is already serial, of course serialization will be easy.
userbinator
20d ago
...which is true for 99.999% of the time anyway, so it's not worth worrying about.
j
/
k
navigate · click thread line to collapse