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.
In reply to Re^2: unpacking 6-bit values
by BrowserUk
in thread unpacking 6-bit values
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |