Skip to main content
Module

x/lume/deps/hex.ts

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
import * as lume from "https://deno.land/x/lume@v1.13.1/deps/hex.ts";

Port of the Go encoding/hex library.

This module is browser compatible.

Functions

Decodes src into src.length / 2 bytes. If the input is malformed, an error will be thrown.

Encodes src into src.length * 2 bytes.