Class Base64


  • public class Base64
    extends Object
    For maximum compatibility across Java versions and various platforms (such as Android, etc.) this simple class provides base 64 functionality without relying on any external libraries or newer Java features.

    Author:
    Todd S. Murchison
    • Constructor Detail

      • Base64

        public Base64()
    • Method Detail

      • encode

        public static String encode​(byte[] input)
        Base 64 encodes the given byte array and returns the resulting string.