![]() | ![]() | |||||||||||||||
|
GNAT.CRC32 PackageThe gnat.crc32 package is the standard CRC package included with GCC Ada (Gnat). GCC Ada Equivalent: GNAT.CRC32 i := gnat.crc32.get_value( c ) gnat.crc32.initialize( c ) gnat.crc32.update( c, s )
Help Command: Contents of the gnat.crc32 package
The gnat.crc32 package includes one type: gnat.crc32.crc32.
=> gnat.crc32.initialize( c )
=> (Assuming c is a new gnat.crc32.crc32 variable) => gnat.crc32.update( c, "Deign, Sovereign Mistress! to accept a lay,") => gnat.crc32.update( c, "No Laureate offering of elaborate art;") => crc := gnat.crc32.get_value( c ) => (Assuming crc is a new integer variable) => ? crc 3245118365
Example: Using the gnat.crc32 package
gnat.crc32.initialize( c )
gnat.crc32.update( c, s )
i := gnat.crc32.get_value( c )
|
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
![]() |