Module

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

PostgreSQL driver for Deno
Go to Latest
function hex.encodeHex
import { hex } from "https://dotland.deno.dev/x/postgres@v0.19.0/tests/test_deps.ts";
const { encodeHex } = hex;

Converts data into a hex-encoded string.

Examples

Example 1

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

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

Parameters

src: string | Uint8Array | ArrayBuffer

Returns

string