in reply to Re: unpacking 6-bit values
in thread unpacking 6-bit values

It looks to me like you're reinventing base64 encoding:

No more like the reverse of it. This format compresses four numerical values 0..63 into 3 bytes.

As you say, in base64, you start with 3 bytes 0..255 and expand them to 4 bytes 65+(0..63). The purpose is to avoid the transmission of control characters that might upset protocols.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.