News for hackers. Stuff that matters.
Re:Stop Memsetting Structures by taneq on Saturday April 27, 2019 @07:30PM (#19768305)
That's what I do these days for simple stuff, or for stuff which needs to talk to nonstandard hardware (eg. talking to a PLC, where I need to know the exact bit layout of the packet in order to unpack it manually on the other side).

If you're doing a large project on supported platforms it's probably worth using a pre-existing serialisation library like protobuffers or something.

There are no comments on this comment yet.