Encodes this UUID as a Byte array with 16 elements.
Encodes this UUID as a Char array with 36 elements in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.
Encodes this UUID as an Int array with 4 elements.
Returns the least significant 64 bits of this UUID.
Encodes this UUID as a Long array with 2 elements.
Returns the most significant 64 bits of this UUID.
Encodes this UUID as a Short array with 8 elements.
Returns this UUID as a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.
Returns this UUID as a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.
Hexadecimal characters will be lower-cased.
This method is an optimized drop in replacement for the legacy toString method.
Writes this UUID to the provided Byte array.
Writes this UUID to the provided Byte array.
Writes this UUID to the provided Char array in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.
Writes this UUID to the provided Int array.
Writes this UUID to the provided Int array.
Writes this UUID to the provided Long array.
Writes this UUID to the provided Long array.
Alias for string which implicitly returns a lower-cased String.
Alias for string which implicitly returns a lower-cased String.
Writes this UUID to the provided Short array.
Writes this UUID to the provided Short array.
Returns this UUID as a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.
Returns this UUID as a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.
Hexadecimal characters will be upper-cased.
Pimp-my-library pattern, wrapping the underlying
java.util.UUID.This class extends AnyVal, making all the extension methods have little-to-no runtime overhead.
The pimp is complete through an implicit conversion in the uuid.Imports trait or the io.jvm.uuid.package package object.