3 ms·
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
by taneq 8y ago
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.