Skip to main content
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.0-alpha.7/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