code: public static void writeQuotedRegularExpression(OutputStream outputStream, byte[] unquoted)
        throws IOException {
      QuoteMetaOutputStream quoteMetaOutputStream = new QuoteMetaOutputStream(outputStream);
      quoteMetaOutputStream.write(unquoted);
      quoteMetaOutputStream.close();
    }
docs: Write unquoted to the OutputStream applying RE2:QuoteMeta quoting.
  
  @param outputStream a {@link java.io.OutputStream} object.
  @param unquoted an array of byte.
  @throws java.io.IOException if any.