Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.17.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