Index of values

C
compare [Uuidm]

compare u u' totally orders u and u'.

E
equal [Uuidm]

equal u u' is true iff u and u' are equal.

N
nil [Uuidm]

nil is the nil UUID.

ns_X500 [Uuidm]

ns_dn is the X.500 DN namespace UUID.

ns_dns [Uuidm]

ns_dns is the DNS namespace UUID.

ns_oid [Uuidm]

ns_oid is the ISO OID namespace UUID.

ns_url [Uuidm]

ns_url is the URL namespace UUID.

O
of_bytes [Uuidm]

of_bytes pos s is the UUID represented by the 16 bytes starting at pos (defaults to 0) in s.

of_mixed_endian_bytes [Uuidm]

of_mixed_endian_bytes is like Uuidm.of_bytes but decodes the mixed endian serialization.

of_string [Uuidm]

of_string pos s converts the substring of s starting at pos (defaults to 0) of the form "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" where X is a lower or upper case hexadecimal number to an UUID.

P
pp [Uuidm]

pp ppf u formats a representation based on Uuidm.to_string of u on ppf.

pp_string [Uuidm]

pp_string ?upper ppf u formats u on ppf like Uuidm.to_string would do.

T
to_bytes [Uuidm]

to_bytes u is u as a 16 bytes long string.

to_mixed_endian_bytes [Uuidm]

to_mixed_endian_bytes is like Uuidm.to_bytes but encodes the mixed endian serialization.

to_string [Uuidm]

to_string u is u as a string of the form "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" where X is a lower (or upper if upper is true) case hexadecimal number.

V
v [Uuidm]

v version is an UUID of the given version.

v3 [Uuidm]

v3 ns n is a V3 UUID (named based with MD5 hashing) named by n and namespaced by ns.

v4 [Uuidm]

v4 b is a V4 UUID (random based) that uses the first 16 bytes of b for randomness.

v4_gen [Uuidm]

v4_gen seed is a function that generates random V4 UUIDs (random based) with the given seed.

v5 [Uuidm]

v5 ns n is a V5 UUID (named based with SHA-1 hashing) named by n and namespaced by ns.