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.
In reply to Re: Binary string to base64
by GrandFather
in thread Binary string to base64
by albert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |