Searched refs:base64 (Results 1 – 2 of 2) sorted by relevance
134 int[] base64 = Decoder.fromBase64; in getMimeEncoder() local136 if (base64[b & 0xff] != -1) in getMimeEncoder()422 char[] base64 = isURL ? toBase64URL : toBase64; in encodeBlock() local427 dst[dp0++] = (byte)base64[(bits >>> 18) & 0x3f]; in encodeBlock()428 dst[dp0++] = (byte)base64[(bits >>> 12) & 0x3f]; in encodeBlock()429 dst[dp0++] = (byte)base64[(bits >>> 6) & 0x3f]; in encodeBlock()430 dst[dp0++] = (byte)base64[bits & 0x3f]; in encodeBlock()435 char[] base64 = isURL ? toBase64URL : toBase64; in encode0() local456 dst[dp++] = (byte)base64[b0 >> 2]; in encode0()458 dst[dp++] = (byte)base64[(b0 << 4) & 0x3f]; in encode0()[all …]
114 final String base64 = Base64.getEncoder().encodeToString(byteArray); in main() local117 new ByteArrayInputStream(Base64.getDecoder().decode(base64)); in main()124 System.out.println(dumpBase64SerialStream(base64)); in main()132 private static String dumpBase64SerialStream(String base64) { in dumpBase64SerialStream() argument143 final int last = base64.length() - 1; in dumpBase64SerialStream()144 for (int i=0; i<base64.length();i++) { in dumpBase64SerialStream()146 sb.append(base64.charAt(i)); in dumpBase64SerialStream()