Skip to content

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

ParameterDescription
data (in)bytes to append
bytes (in)their count

digest ​

cpp
std::uint64_t digest() const

Returns the hash of everything appended so far

RaiSim — physics for robotics and AI.