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

x/cav/deps.ts>hex.decode

A server framework for Deno
Go to Latest
function hex.decode
import { hex } from "https://deno.land/x/cav@0.2.3/deps.ts";
const { decode } = hex;

Decodes src into src.length / 2 bytes. If the input is malformed, an error will be thrown.

Parameters

src: Uint8Array

Returns

Uint8Array