Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/uuid/_common.ts>uuidToBytes

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

Converts a string to a byte array by converting the hex value to a number.

Parameters

uuid: string

Value that gets converted.

Returns

number[]