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

x/live/deps.ts>encodeHex

Deno Compose is a modern visual editor and app framework for dynamic, high-performance sites.
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/live@1.45.1/deps.ts";

Parameters

src: Uint8Array

Returns

Uint8Array