public static byte[] encodeBase64(final byte[] base64) {
        return CODEC.encode(base64);
    }
Encodes binary data using the base64 algorithm but does not chunk the output.
httpclient5/src/main/java/org/apache/hc/client5/http/utils/Base64.java