I want to encode and decode Bytes from an Uint8Array (or an ArrayBuffer) to/from a string in Base36. JavaScript has the toString and parseInt functions which both support base36 but I am not sure if first converting 8 Bytes to a 64 bit floating point is the right idea.
In JS one can encode a BigInt (a number of arbitrary length) in Base36. However the other direction does not work.
How can I do this?