raisim::server::scene_files::Hasher
class · #include <raisim/server/SceneFileProtocol.hpp>
64-bit content hash of a file, computed incrementally. Not cryptographic: it identifies a copy, and the size is compared as well.
Public member functions
update
cpp
void update(const void *data, std::size_t bytes)Parameters
| Parameter | Description |
|---|---|
data (in) | bytes to append |
bytes (in) | their count |
digest
cpp
std::uint64_t digest() constReturns the hash of everything appended so far