List of utility methods to do Base64 Encode
String | toBase64(String value) to Base return new String(encodeBase64(value.getBytes(), false)); |
String | toBase64Impl(byte[] data) to Base Impl if (data == null) { return null; int len = data.length; if (len == 0) { return ""; int olen = 4 * ((len + 2) / 3); ... |
String | toBase64String(byte[] array) Encodes given array as Base64 with ISO-8859-1 character set. return Base64.getEncoder().encodeToString(array);
|
String | toBase64String(byte[] data) to Base String return Base64.getEncoder().encodeToString(data);
|