IdeaBlade DevForce 2010 Help Reference
CRC32 Constructor(Boolean)
See Also  Send Feedback
IdeaBlade.Core Assembly > Ionic.Crc Namespace > CRC32 Class > CRC32 Constructor : CRC32 Constructor(Boolean)



reverseBits
specify true if the instance should reverse data bits.
Create an instance of the CRC32 class, specifying whether to reverse data bits or not.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal reverseBits As Boolean _
)
Visual Basic (Usage)Copy Code
Dim reverseBits As Boolean
 
Dim instance As New CRC32(reverseBits)
C# 
public CRC32( 
   bool reverseBits
)
C++/CLI 
public:
CRC32( 
   bool reverseBits
)

Parameters

reverseBits
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.

Requirements

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

See Also

© 2013 All Rights Reserved.