Libosmium
2.16.0
Fast and flexible C++ library for working with OpenStreetMap data
|
Go to the documentation of this file. 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));
77 #endif // OSMIUM_OSM_CRC_ZLIB_HPP
void process_bytes(const void *buffer, std::size_t byte_count) noexcept
Definition: crc_zlib.hpp:65
Definition: crc_zlib.hpp:55
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
void process_byte(const unsigned char byte) noexcept
Definition: crc_zlib.hpp:61
unsigned long m_crc32
Definition: crc_zlib.hpp:57
unsigned long checksum() const noexcept
Definition: crc_zlib.hpp:69