Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal stream As Stream, _ ByVal length As Long _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim stream As Stream Dim length As Long Dim instance As New CrcCalculatorStream(stream, length) |
Parameters
- stream
- The underlying stream
- length
- The length of the stream to slurp
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().
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family