Thanks for the insight on how you mitigate these issues!
We're doing a lot of data-structure work involving bit stuffing, i.e. packed struct, which is very unfinished indeed.
We're doing a lot of data-structure work involving bit stuffing, i.e. packed struct, which is very unfinished indeed.
Have you seen this post [1] about struct packing? This is what we did for TB's structures, so that we can switch them to `extern struct` for C ABI compatibility. It also helped side step the packed struct bugs.