3# define OSCR_CRC32_T_H_
36 operator uint32_t()
const;
38 bool operator==(
crc32_t const & rhs)
const;
40 crc32_t & operator=(uint32_t v);
42 crc32_t & operator+=(uint8_t data);
43 crc32_t & operator+=(uint16_t data);
44 crc32_t & operator+=(uint32_t data);
47 uint8_t & operator[](
size_t idx);
48 uint8_t
const & operator[](
size_t idx)
const;
55 void next(uint8_t
const * data);
56 void next(uint8_t data);
65 void human(
char * buffer, uint_fast8_t sizeOf = 9)
const;
Interface for handling CRC32 values.
Definition crc32_t.h:14
uint32_t value
The CRC32 (binary, host endian)
Definition crc32_t.h:16
crc32_t()
Create an empty CRC32 interface.
Definition crc32.cpp:160
uint8_t b[4]
The 4 bytes that make up the CRC32.
Definition crc32_t.h:17
void human(char *buffer, uint_fast8_t sizeOf=9) const
Definition crc32.cpp:341
crc32_t()
Create an empty CRC32 interface.
Definition crc32.cpp:160