@Test public void testEncodeString() { String b64 = Base64Coder.encodeString("TestingInput"); assertEquals("VGVzdGluZ0lucHV0",b64); }
public static String encodeString(String s) { return new String(encode(s.getBytes())); }
Base64Coder { public static String encodeString(String s) { return new String(encode(s.getBytes())); } }
Base64Coder { public static String encodeString(String s) { return new String(encode(s.getBytes())); } private  Base64Coder(); }
Base64Coder { public static String encodeString(String s) { return new String(encode(s.getBytes())); } private  Base64Coder(); static String encodeString(String s); static char[] encode(byte[] in); static char[] encode(byte[] in, int iLen); static String decodeString(String s); static byte[] decode(String s); static byte[] decode(char[] in); }
Base64Coder { public static String encodeString(String s) { return new String(encode(s.getBytes())); } private  Base64Coder(); static String encodeString(String s); static char[] encode(byte[] in); static char[] encode(byte[] in, int iLen); static String decodeString(String s); static byte[] decode(String s); static byte[] decode(char[] in);  }