Expand description
Utility functions for operating on bytes including splitting multi-byte integers into bytes and vice versa
Constants§
- 8-bit mask for wiping out bits past a byte. Formatted as a 16-bit number
- 8-bit mask for wiping out bits past a byte. Formatted as a 32-bit number
Functions§
- Split a 32 bit number into it’s 8-bit quartered components
- Take two sequential bytes starting from idx in buffer and return a concatenated 2 byte number
- Take a 2 byte number and split it in to it’s two 8 bit halves