Package com.sun.identity.shared.encode
Class Base64
- java.lang.Object
-
- com.sun.identity.shared.encode.Base64
-
public class Base64 extends Object
-
-
Constructor Summary
Constructors Constructor Description Base64()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]decode(byte[] bytes)static byte[]decode(char[] encoded)static byte[]decode(String encoded)static StringdecodeAsUTF8String(String s)Decodes the supplied String into a UTF-8 String.static byte[]decodeFast(byte[] encoded)static byte[]decodeFast(char[] encoded)static byte[]decodeFast(String encoded)static Stringencode(byte[] bytes)static Stringencode(byte[] bytes, boolean lineSep)static byte[]encodeToByte(byte[] bytes, boolean lineSep)static char[]encodeToChar(byte[] bytes, boolean lineSep)
-
-
-
Method Detail
-
encodeToByte
public static byte[] encodeToByte(byte[] bytes, boolean lineSep)
-
encodeToChar
public static char[] encodeToChar(byte[] bytes, boolean lineSep)
-
encode
public static String encode(byte[] bytes, boolean lineSep)
-
encode
public static String encode(byte[] bytes)
-
decode
public static byte[] decode(byte[] bytes)
-
decode
public static byte[] decode(char[] encoded)
-
decode
public static byte[] decode(String encoded)
-
decodeFast
public static byte[] decodeFast(byte[] encoded)
-
decodeFast
public static byte[] decodeFast(char[] encoded)
-
decodeFast
public static byte[] decodeFast(String encoded)
-
-