ilusm.dev

zip

Compression, archives, gzip, zlib.

Load with: use zip

Quick example

use zip

result = zipgz("value")
prn(result)

Functions

Gzip

zipgz(d)

Performs the operation. Takes d.

zipg0(d)

Performs the operation. Takes d.

Zlib

zipzl(d, lv)

Performs the operation. Takes d, lv.

zipz0(d)

Performs the operation. Takes d.

Deflate/Inflate

zipdf(d)

Performs the operation. Takes d.

zipif(d)

Performs the operation. Takes d.

Zip archive

zipne()

Creates a new instance.

zipad(z, nm, dt)

Adds an item. Takes z, nm, dt.

ziprm(z, nm)

Removes an item. Takes z, nm.

zipex(z, nm)

Executes. Takes z, nm.

ziprd(p)

Reads data. Takes p.

zipwr(z, p)

Writes data. Takes z, p.

Tar

zptrn()

Performs the operation.

zptrd(t, nm, dt, mo)

Reads data. Takes t, nm, dt, mo.

zptrr(p)

Performs the operation. Takes p.

zptrw(t, p)

Performs the operation. Takes t, p.

Archive utils

zipis(p)

Returns true/false based on a condition. Takes p.

zipls(z)

Lists items. Takes z.

zipfn(z)

Finalises. Takes z.

zipsz(z)

Returns the size or count. Takes z.

Streaming

zpstm()

Performs the operation.

zpst0(st, hd)

Performs the operation. Takes st, hd.

zpstd(st, ck)

Performs the operation. Takes st, ck.

zpstf(st)

Performs the operation. Takes st.

Notes

  • ZIP archive creation and extraction.