PndCRCCalculator calculates the CRC checksum from a given vector<char>  
 More...
#include <PndCRCCalculator.h>
PndCRCCalculator calculates the CRC checksum from a given vector<char> 
PndCRCCalculator is based on a look-up table initially calculated from the paramters of the used CRC code. The output of the calculator was cross-checked with the online CRC calculator: http://www.sunshine2k.de/coding/javascript/crc/crc_js.html Both the generated look-up tables as the output match
- Author
- T.Stockmanns t.sto.nosp@m.ckma.nosp@m.nns@f.nosp@m.z-ju.nosp@m.elich.nosp@m..de 
Definition at line 17 of file PndCRCCalculator.h.
◆ PndCRCCalculator() [1/2]
      
        
          | PndCRCCalculator::PndCRCCalculator | ( |  | ) |  | 
      
 
 
◆ PndCRCCalculator() [2/2]
      
        
          | PndCRCCalculator::PndCRCCalculator | ( | UInt_t | order, | 
        
          |  |  | ULong64_t | polynom, | 
        
          |  |  | ULong64_t | CRCXor, | 
        
          |  |  | UInt_t | refIn, | 
        
          |  |  | UInt_t | refOut, | 
        
          |  |  | UInt_t | CRCInit_direct | 
        
          |  | ) |  |  | 
      
 
 
◆ ~PndCRCCalculator()
  
  | 
        
          | virtual PndCRCCalculator::~PndCRCCalculator | ( |  | ) |  |  | virtual | 
 
 
◆ CalculateCRCTableFast()
      
        
          | ULong64_t PndCRCCalculator::CalculateCRCTableFast | ( | std::vector< char > | p, | 
        
          |  |  | ULong64_t | len | 
        
          |  | ) |  |  | 
      
 
 
◆ GenerateCRCTable()
  
  | 
        
          | void PndCRCCalculator::GenerateCRCTable | ( |  | ) |  |  | protected | 
 
 
◆ PrintCRCTable()
      
        
          | void PndCRCCalculator::PrintCRCTable | ( |  | ) |  | 
      
 
 
◆ ReflectBitsStream()
      
        
          | ULong64_t PndCRCCalculator::ReflectBitsStream | ( | ULong64_t | crc, | 
        
          |  |  | int | bitnum | 
        
          |  | ) |  |  | 
      
 
 
The documentation for this class was generated from the following file: