zlib

API Reference

zlib

ZLIB

  • Function UNCOMPRESS (buffer &key (uncompressed-size nil))
    Uncompresses BUFFER. Returns a vector of bytes containing the uncompressed data, and the length of the uncompressed data.
  • Function COMPRESS (buffer btype)
    Compresses BUFFER using deflate algorithm of type BTYPE. Recognized types are :NO-COMPRESSION, :FIXED and :DYNAMIC.