TCRC32
A CRC32 function.
Methods
Method Update:Int(data:Byte Ptr, dataLen:Int) Override
Updates the calculation with dataLen bytes of data.
Method Digest(txt:String, result:Int Var)
Calculates the CRC for the given String, setting the value in result.
Method Digest(stream:TStream, result:Int Var)
Calculates the CRC for the given TStream, setting the value in result.
Method Finish:Int(result:Byte[]) Override
Finishes calculation and produces the result, filling result with the calculated bytes.
The state is reset, ready to create a new calculation.
Method Finish:Int(result:Int Var)
Finishes calculation and produces the result, setting result with the result.
The state is reset, ready to create a new calculation.