import { encodeToHex } from "https://deno.land/x/deno@v0.28.0/std/encoding/mod.ts";
Encode encodes src
into encodedLen(src.length)
bytes of dst
.
As a convenience, it returns the number of bytes written to dst
but this value is always encodedLen(src.length)
.
Encode implements hexadecimal encoding.