Encode a Uint8Array into a binary-encoded string.
E.g.: binToBinString(Uint8Array.from([42, 100])) → '0010101001100100'
binToBinString(Uint8Array.from([42, 100]))
'0010101001100100'
For the reverse, see binStringToBin.
a Uint8Array to encode
Generated using TypeDoc
Encode a Uint8Array into a binary-encoded string.
E.g.:
binToBinString(Uint8Array.from([42, 100]))
→'0010101001100100'
For the reverse, see binStringToBin.