@Test public void decode() { byte[] decoded = Base64.decode("FQwUJC2/Xi9qwlaLWbeCInjVcbdfF74MFCQtv14vasJWi1m3giJ41XG3Xxe" + "+E8AMCHRyYW5zZmVyDBSJdyDYzXb08Aq/o3wO3YicII/em0FifVtSOA=="); String expected = "150c14242dbf5e2f6ac2568b59b7822278d571b75f17be0c14242dbf5e2f6ac2568b59b7822278d571b75f17be13c00c087472616e736665720c14897720d8cd76f4f00abfa37c0edd889c208fde9b41627d5b5238"; assertThat(Numeric.toHexStringNoPrefix(decoded), is(expected)); }
public static byte[] decode(String input) { if (input.length() == 0) { return new byte[0]; } return java.util.Base64.getDecoder().decode(input); }
Base64 { public static byte[] decode(String input) { if (input.length() == 0) { return new byte[0]; } return java.util.Base64.getDecoder().decode(input); } }
Base64 { public static byte[] decode(String input) { if (input.length() == 0) { return new byte[0]; } return java.util.Base64.getDecoder().decode(input); }  }
Base64 { public static byte[] decode(String input) { if (input.length() == 0) { return new byte[0]; } return java.util.Base64.getDecoder().decode(input); }  static String encode(byte[] input); static byte[] decode(String input); }
Base64 { public static byte[] decode(String input) { if (input.length() == 0) { return new byte[0]; } return java.util.Base64.getDecoder().decode(input); }  static String encode(byte[] input); static byte[] decode(String input);  }