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
)
Visual Basic
Public Sub New ( _
	baseStream As Stream, _
	level As CompressionLevelEnum _
)

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.

See Also