public byte[] encode(final byte[] value) {
        if (null == value) {
            return null;
        }
        return getEncoder().encode(value);
    }
Encode bytes to their Base64 form, using specifications from this codec instance
httpclient5/src/main/java/org/apache/hc/client5/http/utils/Base64.java