Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
pjc50
3mo ago
0 comments
Save
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
2 comments · 2 top-level
top
newest
oldest
zadikian
3mo ago
Mainly the first thing. If your struct is already serial, of course serialization will be easy.
userbinator
3mo 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