A crc32 collection/computation hash accumulator class.
More...
#include <digest.h>
|
unsigned char | overflow (unsigned char octet) |
|
std::ostream & | strDigest (std::ostream &os) |
|
| Digest () |
|
virtual unsigned | getSize (void)=0 |
| Get the size of a digest in octets.
|
|
virtual unsigned | getDigest (unsigned char *buffer)=0 |
| Copy the binary digest buffer to user memory.
|
|
virtual void | putDigest (const unsigned char *buffer, unsigned length)=0 |
| Put data into the digest bypassing the stream subsystem.
|
|
virtual std::ostream & | strDigest (std::ostream &os)=0 |
| print a digest string for export.
|
|
A crc32 collection/computation hash accumulator class.
- Author
- Kevin Kraatz kraat.nosp@m.z@ar.nosp@m.lut.u.nosp@m.texa.nosp@m.s.edu
crc32 computation hash.
- Examples
- crc32.cpp.
◆ CRC32Digest() [1/2]
ost::CRC32Digest::CRC32Digest |
( |
| ) |
|
◆ CRC32Digest() [2/2]
ost::CRC32Digest::CRC32Digest |
( |
const CRC32Digest & |
crc | ) |
|
◆ getDigest() [1/2]
unsigned ost::CRC32Digest::getDigest |
( |
unsigned char * |
buffer | ) |
|
|
virtual |
◆ getDigest() [2/2]
uint32 ost::CRC32Digest::getDigest |
( |
void |
| ) |
|
|
inline |
◆ getSize()
unsigned ost::CRC32Digest::getSize |
( |
void |
| ) |
|
|
inlinevirtual |
◆ initDigest()
void ost::CRC32Digest::initDigest |
( |
void |
| ) |
|
|
virtual |
◆ operator const uint32()
ost::CRC32Digest::operator const uint32 |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ overflow()
unsigned char ost::CRC32Digest::overflow |
( |
unsigned char |
octet | ) |
|
|
protected |
◆ putDigest()
void ost::CRC32Digest::putDigest |
( |
const unsigned char * |
buffer, |
|
|
unsigned |
length |
|
) |
| |
|
virtual |
◆ strDigest()
std::ostream & ost::CRC32Digest::strDigest |
( |
std::ostream & |
os | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: