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
Go to Latest
function hexEncodingUtils.encode
import { hexEncodingUtils } from "https://deno.land/x/dtils@2.3.1/deps.ts";
const { encode } = hexEncodingUtils;

Encodes src into src.length * 2 bytes.

Parameters

src: Uint8Array

Returns

Uint8Array