Skip to main content
Module

x/simple_utility/mod.full.ts>hexDecode

Simplify processing for Deno.
Go to Latest
function hexDecode
import { hexDecode } from "https://deno.land/x/simple_utility@v2.0.10/mod.full.ts";

Convert from hex string to binary.

Examples

Example 1

const bin = await Deno.readFile("./file");
const encode = hexEncode(bin);
const decode = hexDecode(encode);

Parameters

data: string

Returns

Uint8Array