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

x/live/deps.ts>decodeHex

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to 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/live@1.60.21/deps.ts";

Parameters

src: Uint8Array

Returns

Uint8Array