StaticfromCreates an instance from a 16-byte UUID binary representation.
StaticparseCreates an instance from a UUID string representation.
This method accepts the following formats:
3ud3gtvgolimgu9lah6aie99o40eb9860cf3e45e2a90eb82236ac806c40eb9860-cf3e-45e2-a90e-b82236ac806c{40eb9860-cf3e-45e2-a90e-b82236ac806c}urn:uuid:40eb9860-cf3e-45e2-a90e-b82236ac806cStaticparseCreates an instance from the hyphenated format with surrounding braces:
{40eb9860-cf3e-45e2-a90e-b82236ac806c}.
StaticparseCreates an instance from the 32-digit hexadecimal format without hyphens:
40eb9860cf3e45e2a90eb82236ac806c.
StaticparseCreates an instance from the 8-4-4-4-12 hyphenated format:
40eb9860-cf3e-45e2-a90e-b82236ac806c.
StaticparseCreates an instance from the RFC 4122 URN format:
urn:uuid:40eb9860-cf3e-45e2-a90e-b82236ac806c.
StaticparseCreates an instance from the 25-digit Base36 Uuid25 format:
3ud3gtvgolimgu9lah6aie99o.
Formats this in the hyphenated format with surrounding braces:
{40eb9860-cf3e-45e2-a90e-b82236ac806c}.
Converts this into the 16-byte binary representation of a UUID.
Formats this in the 32-digit hexadecimal format without hyphens:
40eb9860cf3e45e2a90eb82236ac806c.
Formats this in the 8-4-4-4-12 hyphenated format:
40eb9860-cf3e-45e2-a90e-b82236ac806c.
Formats this in the RFC 4122 URN format:
urn:uuid:40eb9860-cf3e-45e2-a90e-b82236ac806c.
ReadonlyvalueThe underlying string value of the object in the 25-digit Base36 textual representation.
Returns the underlying string value whenever the Object-to-primitive coercion occurs.
Ignored.
Serializes this as the underlying string primitive.
Returns the underlying string value when converting this into a string.
Returns the underlying string value whenever the Object-to-primitive coercion occurs.
The primary value type containing the Uuid25 representation of a UUID.
This class wraps a string value to provide conversion methods from/to other popular UUID textual representations.
Example