"Fossies" - the Fresh Open Source Software Archive

Member "unrar/crc.hpp" (4 May 2022, 339 Bytes) of package /linux/misc/unrarsrc-6.1.7.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "crc.hpp" see the Fossies "Dox" file reference documentation.

    1 #ifndef _RAR_CRC_
    2 #define _RAR_CRC_
    4 // This function is only to intialize external CRC tables. We do not need to
    5 // call it before calculating CRC32.
    6 void InitCRC32(uint *CRCTab);
    8 uint CRC32(uint StartCRC,const void *Addr,size_t Size);
   10 #ifndef SFX_MODULE
   11 ushort Checksum14(ushort StartCRC,const void *Addr,size_t Size);
   12 #endif
   15 #endif