Xceed .NET Libraries Documentation
CreateDeflateCompressor Method


Xceed.Compression Assembly > Xceed.Compression Namespace > CompressedStream Class : CreateDeflateCompressor Method
Syntax
'Declaration
 
Public Shared Function CreateDeflateCompressor( _
   ByVal compressionLevel As CompressionLevel, _
   ByVal deflateImplementation As Nullable(Of DeflateImplementation), _
   ByVal innerStream As Stream, _
   ByVal useZlibHeaders As Nullable(Of Boolean), _
   ByVal useUnsafeCompressionMethodVersions As Nullable(Of Boolean), _
   ByVal allowUncompressedData As Nullable(Of Boolean), _
   ByVal compressorCache As IObjectCache(Of Compressor) _
) As Compressor
'Usage
 
Dim compressionLevel As CompressionLevel
Dim deflateImplementation As Nullable(Of DeflateImplementation)
Dim innerStream As Stream
Dim useZlibHeaders As Nullable(Of Boolean)
Dim useUnsafeCompressionMethodVersions As Nullable(Of Boolean)
Dim allowUncompressedData As Nullable(Of Boolean)
Dim compressorCache As IObjectCache(Of Compressor)
Dim value As Compressor
 
value = CompressedStream.CreateDeflateCompressor(compressionLevel, deflateImplementation, innerStream, useZlibHeaders, useUnsafeCompressionMethodVersions, allowUncompressedData, compressorCache)

Parameters

compressionLevel
deflateImplementation
innerStream
useZlibHeaders
useUnsafeCompressionMethodVersions
allowUncompressedData
compressorCache
Requirements

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

See Also

Reference

CompressedStream Class
CompressedStream Members