Skip to main content
Module

x/postgres/deps.ts>hex.decode

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