Hex.parse
import { Hex } from "https://raw.githubusercontent.com/marigold-dev/tzstamp/0.3.4/helpers/mod.ts";
const { parse } = Hex;
Parses a hexadecimal string to a byte array.
Throws SyntaxError
if the hexadecimal string is invalid.
Hex.parse("395f001");
// Uint8Array(4) [ 3, 149, 240, 1 ]
function parse(input: string): Uint8Array;