Mi/o is an optimized LZW algorithm, that also allows the use of the Base64 algorithms (atob
and btoa
in JavaScript). Mi/o can also be used to create hashes, with a large hash table.
More about Mi/o's algorithms
Mi/o is called on as Mio.enc(String data[, Boolean bloat])
to encode/compress data, and Mio.dec(String data)
to decode/decompress data.
Boolean bloat
tells Mio to leave the encoded data in LZW formatfalse
, or Base64 formattrue
; default isfalse
- Mio also comes with a built-in hashing algorithm,
Mio.sign(string[, fidelity])
Example of Mi/o
The example below is editable.
Learn more
To continue learning about Mio, take a look at the following resources:
- Wikipedia - Lempel–Ziv–Welch
- Wikipedia - Base64
- Mi/o - Source Code