Data Compression

Byte Packing

In byte packing, we generally just eliminate the unused bytes due to Memory Alignment requirements.

In Bit Packing, we are actually shortening the struct (ex: bool → 1 bit, uint8_t → <= 7 bits).