IdeaBlade DevForce 2010 Help Reference
Combine Method
See Also  Send Feedback
IdeaBlade.Core Assembly > Ionic.Crc Namespace > CRC32 Class : Combine Method



crc
the crc value to be combined with this one
length
the length of data the CRC value was calculated on
Combines the given CRC32 value with the current running total.

Syntax

Visual Basic (Declaration) 
Public Sub Combine( _
   ByVal crc As Integer, _
   ByVal length As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As CRC32
Dim crc As Integer
Dim length As Integer
 
instance.Combine(crc, length)
C# 
public void Combine( 
   int crc,
   int length
)
C++/CLI 
public:
void Combine( 
   int crc,
   int length
) 

Parameters

crc
the crc value to be combined with this one
length
the length of data the CRC value was calculated on

Remarks

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.

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.