Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
import * as denogres from "https://deno.land/x/denogres@v4.0.1/vendor/deno.land/std@0.160.0/encoding/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.