'Declaration Public Overloads Shared Function CalculateCrc32( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer, _ ByVal previousCrc As Integer _ ) As Integer
Parameters
- buffer
- The byte array whose checksum will be calculated.
- offset
- The zero-based byte offset in buffer at which to begin reading bytes.
- count
- The number of bytes to read from buffer.
- previousCrc
- The CRC32 checksum from a previous call to CalculateCrc32 or 0 if a new CRC should be calculated.
Return Value
The CRC32 checksum calculated for the buffer, including the previous CRC if any.