CrcCalculatorStream Constructor (stream, length)

DotNetZip

Ionic Zip Library v1.9.1.6 CrcCalculatorStream Constructor (stream, length)
ReferenceIonic.CrcCrcCalculatorStreamCrcCalculatorStream(Stream, Int64)
A constructor allowing the specification of the length of the stream to read.
Declaration Syntax
C# Visual Basic Visual C++
public CrcCalculatorStream(
	Stream stream,
	long length
)
Public Sub New ( _
	stream As Stream, _
	length As Long _
)
public:
CrcCalculatorStream(
	Stream^ stream, 
	long long length
)
Parameters
stream (Stream)
The underlying stream
length (Int64)
The length of the stream to slurp
Remarks

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

Instances returned from this constructor will leave the underlying stream open upon Close().

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