4 ms·
> Turns out Python can tell you if you are big-endian or little-endian like this: sys.byteorder Cool. Handy way to do a quick check. I didn't realize Raspbian
by idatum 4y ago
> Turns out Python can tell you if you are big-endian or little-endian like this:
sys.byteorder
Cool. Handy way to do a quick check. I didn't realize Raspbian on Pi is little-endian.
Most I've used struct is with XBee ZigBee protocol, which uses big-endian.