@Test void encodeToString_test() { byte[] data = new byte[]{0x01, 0x23, 0x45}; String expected = "ASNF"; String result = Base64Util.encodeToString(data); assertThat(result).isEqualTo(expected); }
public static String encodeToString(byte[] source) { return encoder.encodeToString(source); }
Base64Util { public static String encodeToString(byte[] source) { return encoder.encodeToString(source); } }
Base64Util { public static String encodeToString(byte[] source) { return encoder.encodeToString(source); } private  Base64Util(); }
Base64Util { public static String encodeToString(byte[] source) { return encoder.encodeToString(source); } private  Base64Util(); static byte[] decode(String source); static byte[] decode(byte[] source); static byte[] encode(byte[] source); static String encodeToString(byte[] source); }
Base64Util { public static String encodeToString(byte[] source) { return encoder.encodeToString(source); } private  Base64Util(); static byte[] decode(String source); static byte[] decode(byte[] source); static byte[] encode(byte[] source); static String encodeToString(byte[] source);  }