Hex encoding

Use encodeHex() and decodeHex() to encode and decode data with hex.

import { encodeHex, decodeHex } from "@oslojs/encoding";

const data: Uint8Array = new TextEncoder().encode("hello world");
const hex = encodeHex(data);
const decoded = decodeHex(hex);