Incremental XXH32 accumulator for streamed LZ4 content checksums. More...
#include <lz4.hpp>
Public Member Functions | |
| void | update (std::byte value) noexcept |
| Includes one byte in the hash. | |
| std::uint32_t | value () const noexcept |
| Returns the hash for all supplied bytes. | |
Incremental XXH32 accumulator for streamed LZ4 content checksums.
|
inlinenoexcept |
Includes one byte in the hash.
| value | Next byte in stream order. |
Definition at line 110 of file lz4.hpp.
References rpnx::compression::lz4_codec::read_word(), and value().
Referenced by rpnx::compression::lz4_codec::decompress().
|
inlinenodiscardnoexcept |
Returns the hash for all supplied bytes.
Definition at line 128 of file lz4.hpp.
References rpnx::compression::lz4_codec::read_word(), and rpnx::compression::lz4_codec::rotate_left().
Referenced by rpnx::compression::lz4_codec::decompress(), and update().