Skip to main content
Module

std/encoding/hex.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.161.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.