Base64 by translating it into a radix-64 representation represents binary data in an ASCII string format. The term Base64 originates from a specific MIME content transfer encoding.
When need to encode binary data encoding schemes are used, it is designed to deal with textual data.