Example usage for Java org.apache.commons.net.util Base64 fields, constructors, methods, implement or subclass
The text is from its open source code.
Base64() Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode. |
byte[] | decode(String pArray) Decodes a String containing containing characters in the Base64 alphabet. |
byte[] | decode(byte[] pArray) Decodes a byte[] containing containing characters in the Base64 alphabet. |
byte[] | decodeBase64(String base64String) Decodes a Base64 String into octets |
byte[] | decodeBase64(byte[] base64Data) Decodes Base64 data into octets |
byte[] | encode(byte[] pArray) Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet. |
byte[] | encodeBase64(byte[] binaryData) Encodes binary data using the base64 algorithm but does not chunk the output. |
byte[] | encodeBase64(byte[] binaryData, boolean isChunked) Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks. |
String | encodeBase64String(byte[] binaryData) Encodes binary data using the base64 algorithm into 76 character blocks separated by CRLF. |
String | encodeBase64StringUnChunked(byte[] binaryData) Encodes binary data using the base64 algorithm, without using chunking. |
String | encodeBase64URLSafeString(byte[] binaryData) Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output. |