Skip to main content
Module

x/postgres/tests/test_deps.ts>hex.encodeHex

PostgreSQL driver for Deno
Extremely Popular
Latest
function hex.encodeHex
import { hex } from "https://deno.land/x/postgres@v0.19.3/tests/test_deps.ts";
const { encodeHex } = hex;

Converts data into a hex-encoded string.

Examples

Example 1

import { encodeHex } from "https://deno.land/std@0.224.0/encoding/hex.ts";

encodeHex("abc"); // "616263"

Parameters

src: string | Uint8Array | ArrayBuffer

Returns

string