Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dtils/deps.ts>hexEncodingUtils.encodeHex

The best unofficial library of utilities for Deno applications
Latest
function hexEncodingUtils.encodeHex
import { hexEncodingUtils } from "https://deno.land/x/dtils@2.6.1/deps.ts";
const { encodeHex } = hexEncodingUtils;

Encodes the source into hex string.

Parameters

src: string | Uint8Array | ArrayBuffer

Returns

string