Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/blocks/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/blocks@1.72.0/deps.ts";

Parameters

src: Uint8Array

Returns

Uint8Array