CrcCalculatorStream Constructor (stream, length, leaveOpen)

DotNetZip

Ionic Zip Library v1.9.1.6 CrcCalculatorStream Constructor (stream, length, leaveOpen)
ReferenceIonic.CrcCrcCalculatorStreamCrcCalculatorStream(Stream, Int64, Boolean)
A constructor allowing the specification of the length of the stream to read, as well as whether to keep the underlying stream open upon Close().
Declaration Syntax
C# Visual Basic Visual C++
public CrcCalculatorStream(
	Stream stream,
	long length,
	bool leaveOpen
)
Public Sub New ( _
	stream As Stream, _
	length As Long, _
	leaveOpen As Boolean _
)
public:
CrcCalculatorStream(
	Stream^ stream, 
	long long length, 
	bool leaveOpen
)
Parameters
stream (Stream)
The underlying stream
length (Int64)
The length of the stream to slurp
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)