macula_record_uuid (macula v3.13.0)

View Source

UUIDv7 generator (RFC 9562 §5.7).

Bit layout (128 bits / 16 bytes):

   48b unix_ts_ms | 4b ver=7 | 12b rand_a | 2b var=10 | 62b rand_b
  

Summary

Functions

v7()

-spec v7() -> <<_:128>>.

v7(Ms)

-spec v7(non_neg_integer()) -> <<_:128>>.