1#ifndef OSMIUM_OSM_CRC_ZLIB_HPP
2#define OSMIUM_OSM_CRC_ZLIB_HPP
57 unsigned long m_crc32 = ::crc32(0,
nullptr, 0);
65 void process_bytes(
const void* buffer, std::size_t byte_count)
noexcept {
66 m_crc32 = ::crc32(
m_crc32,
reinterpret_cast<const unsigned char*
>(buffer),
static_cast<unsigned int>(byte_count));
Definition: crc_zlib.hpp:55
void process_byte(const unsigned char byte) noexcept
Definition: crc_zlib.hpp:61
unsigned long checksum() const noexcept
Definition: crc_zlib.hpp:69
void process_bytes(const void *buffer, std::size_t byte_count) noexcept
Definition: crc_zlib.hpp:65
unsigned long m_crc32
Definition: crc_zlib.hpp:57
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53