CrcCalculatorStream Constructor (stream, leaveOpen)

DotNetZip

Ionic Zip Library v1.9.1.6 CrcCalculatorStream Constructor (stream, leaveOpen)
ReferenceIonic.CrcCrcCalculatorStreamCrcCalculatorStream(Stream, Boolean)
The constructor allows the caller to specify how to handle the underlying stream at close.
Declaration Syntax
C# Visual Basic Visual C++
public CrcCalculatorStream(
	Stream stream,
	bool leaveOpen
)
Public Sub New ( _
	stream As Stream, _
	leaveOpen As Boolean _
)
public:
CrcCalculatorStream(
	Stream^ stream, 
	bool leaveOpen
)
Parameters
stream (Stream)
The underlying stream
leaveOpen (Boolean)
true to leave the underlying stream open upon close of the CrcCalculatorStream; false otherwise.
Remarks

The stream uses the default CRC32 algorithm, which implies a polynomial of 0xEDB88320.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)