ChecksumGeneratorBase.Update Method (Byte[], Int32, Int32)

DotZLib

DotZLib .Net wrapper for ZLib1.dll

ChecksumGeneratorBase.Update Method (Byte[], Int32, Int32)

Updates the current checksum with part of an array of bytes

public abstract void Update(
   byte[] data,
   int offset,
   int count
);

Parameters

data
The data to update the checksum with
offset
Where in data to start updating
count
The number of bytes from data to use

Implements

ChecksumGenerator.Update

Remarks

All the other Update methods are implmeneted in terms of this one. This is therefore the only method a derived class has to implement

Exceptions

Exception Type Condition
ArgumentException The sum of offset and count is larger than the length of data
NullReferenceException data is a null reference
ArgumentOutOfRangeException Offset or count is negative.

See Also

ChecksumGeneratorBase Class | DotZLib Namespace | ChecksumGeneratorBase.Update Overload List