A class used to simply perform checksums on data
void append_uint8( |
| ) |
Appends a 1-byte unsigned integer to the ChecksumBuilder
value uint8 | The uint8 to be added to the ChecksumBuilder |
void append_uint16( |
| ) |
Appends a 2-byte unsigned integer to the ChecksumBuilder
value uint16 | The uint16 to be added to the ChecksumBuilder |
void append_uint32( |
| ) |
Appends a 4-byte unsigned integer to the ChecksumBuilder
value uint32 | The uint32 to be added to the ChecksumBuilder |
void appendBytes( |
| ) |
Appends a vector of bytes to the end of the current ChecksumBuilder
bytes const Bytes& | The bytes to be appended to the ChecksumBuilder |
void appendByteStream( |
| ) |
Appends the entire contents of a ByteStream to the end of the current ChecksumBuilder
otherStream const ByteStream& | The ByteStream to be appended to the current ChecksumBuilder |
Returns a simple checksum of all the bytes in the ChecksumBuilder
Returns The simple checksum of all the bytes in the ChecksumBuilder
Returns the Fletcher checksum of all the bytes in the ChecksumBuilder
Returns The Fletcher checksum of all the bytes in the ChecksumBuilder