uuidAsString
uuidAsString(): String;
The uuidAsString method of the Binary primitive type returns a string formatted as a Universally Unique Identifier (UUID) from the receiver.
To be a valid UUID when calling this method, the binary should be 16 bytes. If it is less than 16 bytes, the value will be internally padded with zero bytes on the end, to make it 16 bytes long before the conversion is performed. If it is longer than 16 bytes, exception 1091 (Binary too long) is raised.
The
The code fragment in the following example shows the use of the uuidAsString method.
write self.uuid.uuidAsString;