Package net.toddm.comm
Class Base64
- java.lang.Object
-
- net.toddm.comm.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 Summary
Constructors Constructor Description Base64()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringencode(byte[] input)Base 64 encodes the given byte array and returns the resulting string.
-
-
-
Method Detail
-
encode
public static String encode(byte[] input)
Base 64 encodes the given byte array and returns the resulting string.
-
-