Skip to main content
Module

x/lume/deps/hex.ts>encodeHex

🔥 Static site generator for Deno 🦕
Very Popular
Latest
function encodeHex
import { encodeHex } from "https://deno.land/x/lume@v2.1.4/deps/hex.ts";

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