#include <crc_zlib.hpp>
|
void | process_byte (const unsigned char byte) noexcept |
|
void | process_bytes (const void *buffer, std::size_t byte_count) noexcept |
|
unsigned long | checksum () const noexcept |
|
|
unsigned long | m_crc32 = ::crc32(0, nullptr, 0) |
|
This class is used together with the CRC class to implement a CRC32 checksum based on the implementation from zlib.
Usage:
std::cout << crc32.checksum() << '\n';
void update(const Timestamp ×tamp) noexcept
Definition: crc.hpp:157
◆ checksum()
unsigned long osmium::CRC_zlib::checksum |
( |
| ) |
const |
|
inlinenoexcept |
◆ process_byte()
void osmium::CRC_zlib::process_byte |
( |
const unsigned char |
byte | ) |
|
|
inlinenoexcept |
◆ process_bytes()
void osmium::CRC_zlib::process_bytes |
( |
const void * |
buffer, |
|
|
std::size_t |
byte_count |
|
) |
| |
|
inlinenoexcept |
◆ m_crc32
unsigned long osmium::CRC_zlib::m_crc32 = ::crc32(0, nullptr, 0) |
|
private |
The documentation for this class was generated from the following file: