'Declaration Public Overloads Shared Function CalculateAdler32( _ ByVal stream As Stream, _ ByVal previousAdler As Integer _ ) As Integer
'Usage Dim stream As Stream Dim previousAdler As Integer Dim value As Integer value = ChecksumStream.CalculateAdler32(stream, previousAdler)
public static int CalculateAdler32( Stream stream, int previousAdler )
Parameters
- stream
- The stream whose checksum will be calculated.
- previousAdler
- The Adler32 checksum from a previous call to CalculateAdler32 or 0 if a new CRC should be calculated.
Return Value
The Adler32 checksum calculated for the buffer, including the previous CRC if any.