Scoop API

scoop:scoop.std:0.1.0

Companion

object Companion

source · line 68
public
public companion : ValueEncoder<Uuid>, ValueDecoder<Uuid>

Value construction and serialization helpers.

function fromLongs

source · line 90
public
public fun fromLongs(mostSignificantBits: Long, leastSignificantBits: Long): Uuid

Reinterprets two signed Long bit patterns as the high and low UUID halves.

function parseOrNone

source · line 100
public
public fun parseOrNone(text: String): Uuid?

Parses UUID hexadecimal text, with or without the standard hyphens, returning None for malformed or out-of-range input.

property NIL

source · line 82
public
public val NIL: Uuid

get: public read-only

The UUID whose 128 bits are all zero.

function random

source · line 113
public
public fun random(random: Random): Uuid

Creates a version-4 UUID from the supplied random source and sets the version/variant bits. Security depends on that source.

property MAX

source · line 86
public
public val MAX: Uuid

get: public read-only

The UUID whose 128 bits are all one.