HiveMind
Public Member Functions | List of all members
ICRC Class Referenceabstract

#include <ICRC.h>

Collaboration diagram for ICRC:
Collaboration graph

Public Member Functions

virtual ~ICRC ()=default
 
virtual uint32_t calculateCRC32 (const void *data, uint32_t length)=0
 Calculates the CRC32 of a buffer (Thread-safe) More...
 
virtual uint8_t calculateCRC8 (const void *data, uint32_t length)=0
 Calculates the CRC8 of a buffer. More...
 

Constructor & Destructor Documentation

◆ ~ICRC()

virtual ICRC::~ICRC ( )
virtualdefault

Member Function Documentation

◆ calculateCRC32()

virtual uint32_t ICRC::calculateCRC32 ( const void *  data,
uint32_t  length 
)
pure virtual

Calculates the CRC32 of a buffer (Thread-safe)

Parameters
dataPointer to the buffer
lengthLength of buffer in bytes
Returns
CRC32

◆ calculateCRC8()

virtual uint8_t ICRC::calculateCRC8 ( const void *  data,
uint32_t  length 
)
pure virtual

Calculates the CRC8 of a buffer.

Parameters
dataPointer to the buffer
lengthLength of buffer in bytes
Returns
CRC8

The documentation for this class was generated from the following file: