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

x/deco/deps.ts>encodeHex

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
function encodeHex
Deprecated
Deprecated

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

Encodes src into src.length * 2 bytes.

import { encodeHex } from "https://deno.land/x/deco@1.75.1/deps.ts";

Parameters

src: Uint8Array

Returns

Uint8Array