Function fuse_core::uuid::generate(const std::string&, const void *, size_t)

Function Documentation

inline UUID fuse_core::uuid::generate(const std::string &namespace_string, const void *data, size_t byte_count)

Generate a UUID from a namespace string and a raw data buffer.

Parameters:
  • namespace_string[in] A namespace or parent string used to generate non-overlapping UUIDs

  • data[in] A data buffer containing information that makes this item unique

  • byte_count[in] The number of bytes in the data buffer

Returns:

A repeatable UUID specific to the provided namespace and data