13 #ifndef CFDP_Checksum_HPP
14 #define CFDP_Checksum_HPP
121 void addWordUnaligned(
122 const U8 *
const word,
128 void addByteAtOffset(
uint8_t U8
8-bit unsigned integer
C++-compatible configuration header for fprime configuration.
Class representing a 32-bit checksum as mandated by the CCSDS File Delivery Protocol.
Checksum & operator=(const Checksum &checksum)
Assign checksum to this.
U32 getValue() const
Get the checksum value.
~Checksum()
Destroy a Checksum object.
bool operator!=(const Checksum &checksum) const
Compare checksum and this for inequality.
bool operator==(const Checksum &checksum) const
Compare checksum and this for equality.
Checksum()
Construct a fresh Checksum object.
void update(const U8 *const data, const U32 offset, const U32 length)