code: public static String compressStringToBase64String(String value) throws IOException {
          return new String(Base64.encode(compressString(value)), StandardCharsets.UTF_8);
      }
docs: Encodes the given string with Base64 encoding and then GZIP compresses it. Returns
  result as a Base64 encoded string.
  
  @param value input String
  @return Base64 encoded compressed String
  @throws IOException