Function mcap::internal::crc32Update

Function Documentation

inline uint32_t mcap::internal::crc32Update(const uint32_t prev, const std::byte *const data, const size_t length)

Update a streaming CRC32 calculation.

For performance, this implementation processes the data 8 bytes at a time, using the algorithm presented at: https://github.com/komrad36/CRC#option-9-8-byte-tabular