Visual Basic (Declaration) | |
---|---|
Public Sub Combine( _ ByVal crc As Integer, _ ByVal length As Integer _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As CRC32 Dim crc As Integer Dim length As Integer instance.Combine(crc, length) |
Parameters
- crc
- the crc value to be combined with this one
- length
- the length of data the CRC value was calculated on
This is useful when using a divide-and-conquer approach to calculating a CRC. Multiple threads can each calculate a CRC32 on a segment of the data, and then combine the individual CRC32 values at the end.
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