Module uuLua

A module for creating UUIDs in lua

Info:

  • License: Unlicense
  • Author: DarkWiiPlayer (Dennis Fischer)

Functions

v41 () Generates a version 4 variant 1 UUID.
v42 () Generates a version 4 variant 2 UUID.
random () Just an alias for v41 with a more user friendly name

Fields

null The NIL UUID 00000000-0000-0000-0000-000000000000

Local Functions

tohex (num) Converts a number between 0 and 15 to a hex digit


Functions

v41 ()
Generates a version 4 variant 1 UUID.
v42 ()
Generates a version 4 variant 2 UUID. Same as v41 but with one less bit.
random ()
Just an alias for v41 with a more user friendly name

Fields

null
The NIL UUID 00000000-0000-0000-0000-000000000000

Local Functions

tohex (num)
Converts a number between 0 and 15 to a hex digit

Parameters:

  • num A number between 0 and 15
generated by LDoc 1.4.6 Last updated 2020-02-17 14:16:58