Skip to main content
Go to Latest
function hexEncode
import { hexEncode } from "https://deno.land/x/simple_utility@v1.6.0/mod.universal.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