e-CryptIt Engine - Checksums Xojo Plugin

CRC1.UpdateMemoryBlock Method

Updates the CRC checksum with a memory block taking selected bytes from the block.

UpdateMemoryBlock(
   data as MemoryBlock,
   offset as Integer,
   length as Integer,
   crc as UInt8) as UInt8

Parameters

data
The MemoryBlock data to update the CRC stream with.
offset
The first byte from the MemoryBlock to take. (note this value is zero based)
length
Count of bytes to take from the MemoryBlock.
crc
Crc value to calculate from. This is normally the result of the previous crc value in the stream.

Returns

UInt8

Remarks

See Also

CRC1 Class