Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/uuid/_common.ts>bytesToUuid

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function bytesToUuid
import { bytesToUuid } from "https://deno.land/std@0.118.0/uuid/_common.ts";

Converts the byte array to a UUID string

Parameters

bytes: number[] | Uint8Array

Used to convert Byte to Hex

Returns

string