Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/CRC-32/Delphi/crc-32.delphi
Normal file
15
Task/CRC-32/Delphi/crc-32.delphi
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
program CalcCRC32;
|
||||
|
||||
{$APPTYPE CONSOLE}
|
||||
|
||||
uses
|
||||
System.SysUtils, System.ZLib;
|
||||
|
||||
var
|
||||
Data: AnsiString = 'The quick brown fox jumps over the lazy dog';
|
||||
CRC: UInt32;
|
||||
|
||||
begin
|
||||
CRC := crc32(0, @Data[1], Length(Data));
|
||||
WriteLn(Format('CRC32 = %8.8X', [CRC]));
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue