Here is a function that will convert between any two databases: https://sites.google.com/site/computersciencesourcecode/conversion-algorithms/base-to-base
Edit (Hope this is completely clear ...)
Base 64.
, 64, , I, , :
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
"A" 0, "B" - 1, "C" - 2,... "8" - 60, "9" - 61, + '- 62, '/'- 63. , , , 10 , ' 0 ', 0 ..
Soju , 64- 6 . 64, 64 , :
B a 7 + K j 3 N
000001 011010 111011 111110 001010 100011 110111 001101
( , ):
000001011010111011111110001010100011110111001101
, , :
0000 0101 1010 1110 1111 1110 0010 1010 0011 1101 1100 1101
, 16:
0000 0101 1010 1110 1111 1110 0010 1010 0011 1101 1100 1101
0 5 A E F E 2 A 3 D C D