public final static boolean isZLIB( ByteProvider provider ) {
		try {
			byte [] bytes = provider.readBytes( 0, 2  );
			if ( Arrays.equals( bytes, ZLIB_COMPRESSION_NO_LOW ) ) {
				return true;
			}
			if ( Arrays.equals( bytes, ZLIB_COMPRESSION_DEFAULT ) ) {
				return true;
			}
			if ( Arrays.equals( bytes, ZLIB_COMPRESSION_BEST ) ) {
				return true;
			}
		}
		catch (Exception e) {
		}
		return false;
	}
Creates a new compressor. 
If 'noWrap' is true then the ZLIB header and checksum fields will not be used in order 
to support the compression format used in both GZIP and PKZIP.
@param noWrap if true then use GZIP compatible compression
@param decompressedBytes the decompressed bytes
@return an output stream containing the compressed data
@throws IOException
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/zlib/ZLIB.java