Skip to main content
Module

std/encoding/hex.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.209.0/encoding/hex.ts";

Functions

f
decode
deprecated

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

Decodes the given hex-encoded string. If the input is malformed, an error is thrown.

f
encode
deprecated

Encodes src into src.length * 2 bytes.

Converts data into a hex-encoded string.