benjamin-bader / amanuensis

ah - MAN - you - EN - sis: Web Traffic Inspector
GNU General Public License v3.0
2 stars 0 forks source link

Serialize int32_t and uint32_t in big-endian order #19

Closed benjamin-bader closed 6 years ago

benjamin-bader commented 6 years ago

All the processors to which I'd imagine deploying are little-endian, and I can't imagine why we'd ever (in trusty) send data to a different processor architecture... but why leave things to chance?

It's also nicer to have bit-fiddling code consolidated.