ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip Namespace / C1ZStreamWriter Class / C1ZStreamWriter Constructor / C1ZStreamWriter Constructor(Stream,Boolean)
Output stream that will contain the compressed data.
Specifies whether the compressed stream should be compatible with zip files.

In This Topic
    C1ZStreamWriter Constructor(Stream,Boolean)
    In This Topic
    Initializes a new instance of the C1ZStreamWriter class.
    Syntax
    Public Function New( _
       ByVal baseStream As Stream, _
       ByVal zip As Boolean _
    )
    public C1ZStreamWriter( 
       Stream baseStream,
       bool zip
    )

    Parameters

    baseStream
    Output stream that will contain the compressed data.
    zip
    Specifies whether the compressed stream should be compatible with zip files.
    Remarks

    Streams in zip files are different from regular zlib streams in two aspects:

    (1) zip streams do not contain any local header information (the information is stored in the zip file headers instead) and

    (2) zip streams use a CRC32 checksum instead of the adler32 checksum used by zlib streams.

    See Also