CRC32 Constructor (reverseBits)

DotNetZip

Ionic Zip Library v1.9.1.6 CRC32 Constructor (reverseBits)
ReferenceIonic.CrcCRC32CRC32(Boolean)
Create an instance of the CRC32 class, specifying whether to reverse data bits or not.
Declaration Syntax
C# Visual Basic Visual C++
public CRC32(
	bool reverseBits
)
Public Sub New ( _
	reverseBits As Boolean _
)
public:
CRC32(
	bool reverseBits
)
Parameters
reverseBits (Boolean)
specify true if the instance should reverse data bits.
Remarks

In the CRC-32 used by BZip2, the bits are reversed. Therefore if you want a CRC32 with compatibility with BZip2, you should pass true here. In the CRC-32 used by GZIP and PKZIP, the bits are not reversed; Therefore if you want a CRC32 with compatibility with those, you should pass false.

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