first byte, longest code length next byte, amount of items at code length 1 next byte, amount of items at code length 2 repeat until all values from 0 to first byte are stored
add zeros till first part to hear is full bytes
character, then code, looped from smallest to largest
amount of filler bytes at end of compressed message
compressed message
filler bits
First implementation I wrote of p8a comrpession, writen in python. Really slow. Only worth looking at if you hate Cpp code.
Uses tclap for flag setting for p8b and above.