@Test public void encodes_as_expected() { assertEquals(encoded, Base64UrlSafe.encodeBytes(data)); }
public static String encodeBytes(byte[] source) { try { return Base64.encodeBytes(source, Base64.URL_SAFE); } catch (IOException e) { throw new AssertionError(e); } }
Base64UrlSafe { public static String encodeBytes(byte[] source) { try { return Base64.encodeBytes(source, Base64.URL_SAFE); } catch (IOException e) { throw new AssertionError(e); } } }
Base64UrlSafe { public static String encodeBytes(byte[] source) { try { return Base64.encodeBytes(source, Base64.URL_SAFE); } catch (IOException e) { throw new AssertionError(e); } } private  Base64UrlSafe(); }
Base64UrlSafe { public static String encodeBytes(byte[] source) { try { return Base64.encodeBytes(source, Base64.URL_SAFE); } catch (IOException e) { throw new AssertionError(e); } } private  Base64UrlSafe(); static byte[] decode(String s); static byte[] decodePaddingAgnostic(String s); static String encodeBytes(byte[] source); static String encodeBytesWithoutPadding(byte[] source); }
Base64UrlSafe { public static String encodeBytes(byte[] source) { try { return Base64.encodeBytes(source, Base64.URL_SAFE); } catch (IOException e) { throw new AssertionError(e); } } private  Base64UrlSafe(); static byte[] decode(String s); static byte[] decodePaddingAgnostic(String s); static String encodeBytes(byte[] source); static String encodeBytesWithoutPadding(byte[] source);  }