Skip to main content
Module

x/simple_utility/mod.pure.full.ts>hexEncode

Simplify processing for Deno.
Go to Latest
function hexEncode
import { hexEncode } from "https://deno.land/x/simple_utility@v2.0.10/mod.pure.full.ts";

Convert from binary to hex string.

Examples

Example 1

const bin = await Deno.readFile("./file");
const encode = hexEncode(bin);
const decode = hexDecode(encode);

Parameters

data: Uint8Array

Returns

string