Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/deps.ts>hexEncodingUtils.encode

The best unofficial library of utilities for Deno applications
Latest
function hexEncodingUtils.encode
Deprecated
Deprecated

(will be removed in 0.210.0) Use a encodeHex instead.

Encodes src into src.length * 2 bytes.

import { hexEncodingUtils } from "https://deno.land/x/dtils@2.6.1/deps.ts";
const { encode } = hexEncodingUtils;

Parameters

src: Uint8Array

Returns

Uint8Array