Skip to main content
Module

x/mongo/deps.ts>hex.decode

MongoDB driver for Deno
Extremely Popular
Go to Latest
function hex.decode
import { hex } from "https://deno.land/x/mongo@v0.31.2/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