Initializes a new instance of the C1ZStreamWriter class.

Namespace:  C1.C1Zip
Assembly:  C1.Silverlight.Zip (in C1.Silverlight.Zip.dll)

Syntax

C#
public C1ZStreamWriter(
	Stream baseStream,
	CompressionLevelEnum level,
	bool header,
	bool crc32
)
Visual Basic
Public Sub New ( _
	baseStream As Stream, _
	level As CompressionLevelEnum, _
	header As Boolean, _
	crc32 As Boolean _
)

Parameters

baseStream
Type: System.IO..::..Stream
Output stream that will contain the compressed data.
level
Type: C1.C1Zip..::..CompressionLevelEnum
Compression level to use when compressing data.
header
Type: System..::..Boolean
Include header information in compressed stream (should be False for streams in zip files).
crc32
Type: System..::..Boolean
Include CRC32 checksum in compressed stream (should be True for streams in zip files).

See Also