Module

x/fresh/src/server/deps.ts>encodeHex

The next-gen web framework.
Extremely Popular
Latest
function encodeHex
import { encodeHex } from "https://dotland.deno.dev/x/fresh@1.7.3/src/server/deps.ts";

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