Incremental CRC-64/XZ accumulator for streamed block data. More...
#include <xz.hpp>
Public Member Functions | |
| void | update (std::byte value) noexcept |
| Includes one byte in the checksum. | |
| std::uint64_t | value () const noexcept |
| Returns the checksum for all supplied bytes. | |
|
inlinenoexcept |
Includes one byte in the checksum.
| value | Next byte in stream order. |
Definition at line 406 of file xz.hpp.
References value().
Referenced by rpnx::compression::xz_codec::compress(), and rpnx::compression::xz_codec::decompress().
|
inlinenodiscardnoexcept |
Returns the checksum for all supplied bytes.
Definition at line 419 of file xz.hpp.
Referenced by rpnx::compression::xz_codec::compress(), rpnx::compression::xz_codec::decompress(), and update().