Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 778 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 778 Bytes

This package allows for custom encoding between base2 (bianary) and base 64.
WARNING: THIS WILL NOT TRANSLATE other b64 encodings and will NOT be able to encode/decode the same values


Ex. "10101010101000010111111001" --> "ppE9AA" --> "10101010101000010111111001"

Approx. 6x len reduction


Docs
function b2tob64 requires a single string input of only 1's and 0's
This will return a b64 string (NOTE: this can most likely be decoded ONLY by this program)



function b64tob2 requires a single b64 string input created by the b2tob64 function.
this will return the original binary string.


Unlike some b2 to b64 converters, this allows for conversions on the bit by bit level.
Conviance is nice.