'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)
public static Compressor CreateDeflateCompressor( CompressionLevel compressionLevel, Nullable<DeflateImplementation> deflateImplementation, Stream innerStream, Nullable<bool> useZlibHeaders, Nullable<bool> useUnsafeCompressionMethodVersions, Nullable<bool> allowUncompressedData, IObjectCache<Compressor> compressorCache )
Parameters
- compressionLevel
- deflateImplementation
- innerStream
- useZlibHeaders
- useUnsafeCompressionMethodVersions
- allowUncompressedData
- compressorCache