in reply to Binary string to base64
Unless I misunderstand what you are trying to do - you can't! 64 bits is 8 bytes. base64 encoding encodes 6 bits per (8 bit) printable character for transmission over a network or some such system. 64 bits require at least 11 base64 characters for encoding - it is not a compression system.
This may be another XY Problem,in which case a description of what you are trying to achieve would be a good idea.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Binary string to base64
by albert (Monk) on Jun 16, 2006 at 11:09 UTC |