stringify
stringify(
bytes,offset?):string
Defined in: src/uuid/codec.ts:62
Format 16 bytes as the canonical dashed, lowercase representation (RFC 9562 §4).
Parameters
Section titled “Parameters”Uint8Array
offset?
Section titled “offset?”number = 0
Returns
Section titled “Returns”string
Example
Section titled “Example”stringify(new Uint8Array(16)); // "00000000-0000-0000-0000-000000000000"
// Reads 16 bytes from an offset, for slicing out of a larger buffer.stringify(new Uint8Array(32), 16);