C# Class ICSharpCode.SharpZipLib.Checksums.StrangeCRC

Bzip2 checksum algorithm
Inheritance: IChecksum
Mostra file Open project: fanfeilong/exceltk

Public Methods

Method Description
Reset ( ) : void

Reset the state of Crc.

StrangeCRC ( ) : System

Initialise a default instance of

Update ( byte buffer ) : void

Update Crc based on a block of data

Update ( byte buffer, int offset, int count ) : void

Update Crc based on a portion of a block of data

Update ( int value ) : void

Update the Crc value.

Method Details

Reset() public method

Reset the state of Crc.
public Reset ( ) : void
return void

StrangeCRC() public method

Initialise a default instance of
public StrangeCRC ( ) : System
return System

Update() public method

Update Crc based on a block of data
public Update ( byte buffer ) : void
buffer byte The buffer containing data to update the crc with.
return void

Update() public method

Update Crc based on a portion of a block of data
public Update ( byte buffer, int offset, int count ) : void
buffer byte block of data
offset int index of first byte to use
count int number of bytes to use
return void

Update() public method

Update the Crc value.
public Update ( int value ) : void
value int data update is based on
return void