Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/blocks/deps.ts>decodeHex

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
function decodeHex
Deprecated
Deprecated

(will be removed in 0.210.0) Use a decodeHex instead.

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

import { decodeHex } from "https://deno.land/x/blocks@1.75.0/deps.ts";

Parameters

src: Uint8Array

Returns

Uint8Array