import { decodeHex } from "https://deno.land/x/deno@v0.28.0/std/encoding/mod.ts";
Decode decodes src
into decodedLen(src.length)
bytes
returning the actual number of bytes written to dst
.
Decode expects that src
contains only hexadecimal characters and that src
has even length.
If the input is malformed, Decode returns the number of bytes decoded before
the error.