Skip to content

struct flake::flake_uuid

RFC 4122 (v1-style) UUID generator. More...

#include <platform/flake/util.h>

Public Functions

Name
voidgenerate(uint8_t uuid[16])
Generate a new UUID.

Detailed Description

cpp
struct flake::flake_uuid;

RFC 4122 (v1-style) UUID generator.

Call flake_uuid::generate() to produce a 16-byte UUID.

Public Functions Documentation

function generate

cpp
static void generate(
    uint8_t uuid[16]
)

Generate a new UUID.

Parameters:

  • uuid 16-byte array that receives the UUID.