Compresses an array of bytes using the GZip compression format and specified compression level.
Parameters
- buffer
- The array of bytes to compress.
- level
- A Xceed.Compression.CompressionLevel value representing the compression level to use.
Return Value
An array of bytes containing the compressed data.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2