Skip to main content

Function: v6()

Call Signature

v6(options?, buf?, offset?): string

Generate a v6 (reordered timestamp) UUID.

Parameters

options?

Version1Options

buf?

undefined

offset?

number

Returns

string

Call Signature

v6<TBuf>(options, buf, offset?): TBuf

Generate a v6 (reordered timestamp) UUID.

Type Parameters

TBuf

TBuf extends Uint8Array<ArrayBufferLike> = Uint8Array<ArrayBufferLike>

Parameters

options

Version1Options | undefined

buf

TBuf

offset?

number

Returns

TBuf