Skip to main content

decodeBase58ToUuidBytes()

function decodeBase58ToUuidBytes(value: string): Uint8Array;

Decode a base58 string back into 16 UUID bytes. Throws UuidV7Error if the input is malformed or doesn't decode to exactly 16 bytes.

Parameters

ParameterType
valuestring

Returns

Uint8Array