Searched refs:getEncoder (Results 1 – 4 of 4) sorted by relevance
71 checkAlphabet(TABLE_1, "", Base64.getEncoder()); in testAlphabet_plain()391 assertRoundTrip(Base64.getEncoder(), decoder, inputString, decodedBytes); in testDecoder_decodeArrayToArray()508 checkEncoder_nullArgs(Base64.getEncoder()); in testEncoder_nullArgs()512 checkEncoder_nullArgs(Base64.getEncoder().withoutPadding()); in testEncoder_nullArgs()623 OutputStream result = Base64.getEncoder().wrap(new ByteArrayOutputStream()); in closedEncodeStream()637 Encoder encoder = Base64.getEncoder(); in testEncoder_encodeArrayToArray()670 Encoder encoder = Base64.getEncoder(); in testEncoder_encodeByteBuffer()714 checkRoundTrip_empty(Base64.getEncoder(), Base64.getDecoder()); in testRoundTrip_empty()739 checkRoundTrip_allBytes_singleLine(Base64.getEncoder(), Base64.getDecoder()); in testRoundTrip_allBytes_plain()775 checkRoundTrip_simple(Base64.getEncoder(), Base64.getDecoder()); in testRoundTrip_simple_basic()[all …]
274 return Base64.getEncoder().encodeToString(data); in encode()
763 String message = "Expected " + Base64.getEncoder().encodeToString(expected) + ", got: " in assertByteArraysEqual()764 + Base64.getEncoder().encodeToString(actual); in assertByteArraysEqual()
87 public static Encoder getEncoder() { in getEncoder() method in Base64