C# Class PocketCampus.Main.PngWriter.Adler32

Computes the Adler32 CRC value for a given data set
显示文件 Open project: accandme/pocketcampus

Public Methods

Method Description
Add ( byte data, int len, uint offset ) : void

Adds to the current running Adler32 the bytes from buf[].

Reset ( ) : void

Resets the running Adler32.

Method Details

Add() public method

Adds to the current running Adler32 the bytes from buf[].
public Add ( byte data, int len, uint offset ) : void
data byte A byte[] to process.
len int The length of the byte[].
offset uint The offset to start processing byte[] at.
return void

Reset() public method

Resets the running Adler32.
public Reset ( ) : void
return void