Scoop API

scoop:scoop.std:0.1.0

Uuid

struct Uuid

source · line 12
public
public struct Uuid(val mostSignificantBits: ULong, val leastSignificantBits: ULong) : Equals<Uuid>, Compare<Uuid>, Hash, ToString

A 128-bit identifier represented by unsigned high and low halves. Ordering compares those halves unsigned, and byte conversion uses network byte order.

function toHexString

source · line 45
public
public fun toHexString(): String

Returns 32 lowercase hexadecimal digits without separators.

function toString

source · line 63
public
public override fun toString(): String

Returns the lowercase hyphenated UUID representation.

function hash

source · line 30
public
public override fun hash(): Long

Computes a hash consistent with component equality.

function toLongs

source · line 34
public
public fun toLongs(): (Long, Long)

Returns the raw high and low bit patterns reinterpreted as signed Long values.

function toHexDashString

source · line 49
public
public fun toHexDashString(): String

Returns lowercase hexadecimal text in the 8-4-4-4-12 grouping.