Interface for handling CRC32 values.
More...
#include <common/crc32_t.h>
|
|
| crc32_t () |
| | Create an empty CRC32 interface.
|
| | crc32_t (uint32_t v) |
| | Create a CRC32 interface using the provided value.
|
|
void | reset () |
|
void | next (uint8_t const *data) |
|
void | next (uint8_t data) |
|
void | done () |
| void | human (char *buffer, uint_fast8_t sizeOf=9) const |
|
|
uint32_t | value |
| | The CRC32 (binary, host endian)
|
|
uint8_t | b [4] |
| | The 4 bytes that make up the CRC32.
|
Interface for handling CRC32 values.
◆ crc32_t()
| OSCR::CRC32::crc32_t::crc32_t |
( |
uint32_t | v | ) |
|
|
explicit |
Create a CRC32 interface using the provided value.
- Parameters
-
| v | The binary value of the CRC32 |
◆ human()
| void OSCR::CRC32::crc32_t::human |
( |
char * | buffer, |
|
|
uint_fast8_t | sizeOf = 9 ) const |
Copy a human readable CRC32 string into a buffer.
- Parameters
-
| buffer | The pointer to the destination |
| sizeOf | The size of the destination (default: 9) |
The documentation for this union was generated from the following files:
- C:/Developer/Projects/OSCR/oscr-firmware/include/common/crc32_t.h
- common/crc32.cpp