Incremental reflected IEEE CRC-32 accumulator. More...
#include <io.hpp>
Public Member Functions | |
| void | update (std::byte value) noexcept |
| Includes one byte in the checksum. | |
| std::uint32_t | value () const noexcept |
| Returns the checksum for all bytes supplied so far. | |
|
inlinenoexcept |
Includes one byte in the checksum.
| value | Next byte in stream order. |
Definition at line 175 of file io.hpp.
References value().
Referenced by rpnx::compression::deflate_codec::compress(), rpnx::compression::xz_codec::compress(), rpnx::compression::deflate_codec::decompress(), and rpnx::compression::xz_codec::decompress().
|
inlinenodiscardnoexcept |
Returns the checksum for all bytes supplied so far.
Definition at line 189 of file io.hpp.
Referenced by rpnx::compression::deflate_codec::compress(), rpnx::compression::xz_codec::compress(), rpnx::compression::deflate_codec::decompress(), rpnx::compression::xz_codec::decompress(), and update().