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

x/djwt/tests/test_deps.ts>decodeHex

Create and verify JSON Web Tokens (JWT) with Deno or the browser.
Very Popular
Go to Latest
function decodeHex
import { decodeHex } from "https://deno.land/x/djwt@v2.7/tests/test_deps.ts";

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

Parameters

src: Uint8Array

Returns

Uint8Array