Common Lisp Package: ZIP

README:

FUNCTION

Public

STORE (IN OUT)

Copy uncompressed bytes from IN to OUT and return values like COMPRESS.

ZIPFILE-ENTRIES (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPFILE-ENTRY-COMMENT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPFILE-ENTRY-NAME (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPFILE-ENTRY-SIZE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

COMPRESS (INPUT OUTPUT COMPRESSOR)

INFLATE (P OP)

OPEN-ZIPFILE (PATHNAME &KEY (EXTERNAL-FORMAT (DEFAULT-EXTERNAL-FORMAT)))

SKIP-GZIP-HEADER (P)

UNZIP (PATHNAME TARGET-DIRECTORY &KEY (IF-EXISTS ERROR) VERBOSE)

WRITE-ZIPENTRY (Z NAME DATA &KEY (FILE-WRITE-DATE (FILE-WRITE-DATE DATA)))

ZIP (PATHNAME SOURCE-DIRECTORY &KEY (IF-EXISTS ERROR))

SETFZIPFILE-ENTRIES (NEW-VALUE INSTANCE)

SETFZIPFILE-ENTRY-COMMENT (NEW-VALUE INSTANCE)

SETFZIPFILE-ENTRY-NAME (NEW-VALUE INSTANCE)

SETFZIPFILE-ENTRY-SIZE (NEW-VALUE INSTANCE)

Private

BIT-READER-BITS (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

BIT-READER-LAST-BYTE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

BIT-READER-STREAM (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

COPY-BITINFO (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

ZIPFILE-ENTRY-COMPRESSED-SIZE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPFILE-ENTRY-OFFSET (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPFILE-ENTRY-STREAM (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPFILE-EXTERNAL-FORMAT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPFILE-STREAM (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPWRITER-COMPRESSOR (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPWRITER-ENTRY-HEADER (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPWRITER-ENTRY-NAME (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPWRITER-ENTRY-POSITION (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPWRITER-EXTERNAL-FORMAT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPWRITER-HEAD (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPWRITER-STREAM (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ZIPWRITER-TAIL (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

%DIRECTORY (D)

%DIRECTORY-NAMESTRING (D)

%DIRECTORYP (PATHNAME)

%FILE-WRITE-DATE (F)

%PATHNAME-FOR-DIRECTORY (F)

SETFBIT-READER-BITS (NEW-VALUE INSTANCE)

SETFBIT-READER-LAST-BYTE (NEW-VALUE INSTANCE)

BIT-READER-P (OBJECT)

SETFBIT-READER-STREAM (NEW-VALUE INSTANCE)

BITINFO-BITWIDTH (STRUCTURE)

SETFBITINFO-BITWIDTH (NEW-VALUE STRUCTURE)

BITINFO-MAXVAL (STRUCTURE)

SETFBITINFO-MAXVAL (NEW-VALUE STRUCTURE)

BITINFO-MINVAL (STRUCTURE)

SETFBITINFO-MINVAL (NEW-VALUE STRUCTURE)

BUILD-HUFFMAN-TREE (MINVAL MINMAXES VALUECODE VALUEWIDTH POS)

CD/COMMENT-LENGTH (R)

SETFCD/COMMENT-LENGTH (NEWVAL R)

CD/COMPRESSED-SIZE (R)

SETFCD/COMPRESSED-SIZE (NEWVAL R)

CD/CRC (R)

SETFCD/CRC (NEWVAL R)

CD/DATE (R)

SETFCD/DATE (NEWVAL R)

CD/DISC-NUMBER (R)

SETFCD/DISC-NUMBER (NEWVAL R)

CD/EXTERNAL-ATTRIBUTES (R)

SETFCD/EXTERNAL-ATTRIBUTES (NEWVAL R)

CD/EXTRA-LENGTH (R)

SETFCD/EXTRA-LENGTH (NEWVAL R)

CD/FLAGS (R)

SETFCD/FLAGS (NEWVAL R)

CD/INTERNAL-ATTRIBUTES (R)

SETFCD/INTERNAL-ATTRIBUTES (NEWVAL R)

CD/METHOD (R)

SETFCD/METHOD (NEWVAL R)

CD/NAME-LENGTH (R)

SETFCD/NAME-LENGTH (NEWVAL R)

CD/OFFSET (R)

SETFCD/OFFSET (NEWVAL R)

CD/SIGNATURE (R)

SETFCD/SIGNATURE (NEWVAL R)

CD/SIZE (R)

SETFCD/SIZE (NEWVAL R)

CD/TIME (R)

SETFCD/TIME (NEWVAL R)

CD/VERSION-MADE-BY (R)

SETFCD/VERSION-MADE-BY (NEWVAL R)

CD/VERSION-NEEDED-TO-EXTRACT (R)

SETFCD/VERSION-NEEDED-TO-EXTRACT (NEWVAL R)

CLOSE-ZIPFILE-WRITER (Z)

COPY-BIT-READER (INSTANCE)

COPY-ZIPFILE (INSTANCE)

COPY-ZIPFILE-ENTRY (INSTANCE)

COPY-ZIPWRITER (INSTANCE)

COPY-ZIPWRITER-ENTRY (INSTANCE)

DATA/COMPRESSED-SIZE (R)

SETFDATA/COMPRESSED-SIZE (NEWVAL R)

DATA/CRC (R)

SETFDATA/CRC (NEWVAL R)

DATA/SIZE (R)

SETFDATA/SIZE (NEWVAL R)

DECODE-HUFFMAN-TREE (BR TREE MINBITS)

DEFAULT-EXTERNAL-FORMAT

END/CENTRAL-DIRECTORY-DISC (R)

SETFEND/CENTRAL-DIRECTORY-DISC (NEWVAL R)

END/CENTRAL-DIRECTORY-OFFSET (R)

SETFEND/CENTRAL-DIRECTORY-OFFSET (NEWVAL R)

END/CENTRAL-DIRECTORY-SIZE (R)

SETFEND/CENTRAL-DIRECTORY-SIZE (NEWVAL R)

END/COMMENT-LENGTH (R)

SETFEND/COMMENT-LENGTH (NEWVAL R)

END/DISC-FILES (R)

SETFEND/DISC-FILES (NEWVAL R)

END/SIGNATURE (R)

SETFEND/SIGNATURE (NEWVAL R)

END/THIS-DISC (R)

SETFEND/THIS-DISC (NEWVAL R)

END/TOTAL-FILES (R)

SETFEND/TOTAL-FILES (NEWVAL R)

FILE/COMPRESSED-SIZE (R)

SETFFILE/COMPRESSED-SIZE (NEWVAL R)

FILE/CRC (R)

SETFFILE/CRC (NEWVAL R)

FILE/DATE (R)

SETFFILE/DATE (NEWVAL R)

FILE/EXTRA-LENGTH (R)

SETFFILE/EXTRA-LENGTH (NEWVAL R)

FILE/FLAGS (R)

SETFFILE/FLAGS (NEWVAL R)

FILE/METHOD (R)

SETFFILE/METHOD (NEWVAL R)

FILE/NAME-LENGTH (R)

SETFFILE/NAME-LENGTH (NEWVAL R)

FILE/SIGNATURE (R)

SETFFILE/SIGNATURE (NEWVAL R)

FILE/SIZE (R)

SETFFILE/SIZE (NEWVAL R)

FILE/TIME (R)

SETFFILE/TIME (NEWVAL R)

FILE/VERSION-NEEDED-TO-EXTRACT (R)

SETFFILE/VERSION-NEEDED-TO-EXTRACT (NEWVAL R)

FLUSH-BUFFER (OP BUFFER END)

GENERATE-HUFFMAN-TREE (BITINFO)

GENERATE-HUFFMAN-TREE-FROM-VECTOR (VECTOR START END)

GET-INT (ARRAY OFFSET)

SETFGET-INT (NEWVAL ARRAY OFFSET)

GET-SHORT (ARRAY OFFSET)

SETFGET-SHORT (NEWVAL ARRAY OFFSET)

MAKE-BIT-READER (&KEY ((STREAM DUM26) NIL) ((LAST-BYTE DUM27) NIL) ((BITS DUM28) NIL))

MAKE-BITINFO (&KEY ((MINVAL DUM178) NIL) ((MAXVAL DUM179) NIL) ((BITWIDTH DUM180) NIL))

MAKE-BUFFER-OUTPUT-STREAM (OUTBUF)

MAKE-BYTE-ARRAY (N)

MAKE-DATA-DESCRIPTOR (&OPTIONAL S)

MAKE-DIRECTORY-ENTRY (&OPTIONAL S)

MAKE-END-HEADER (&OPTIONAL S)

MAKE-LOCAL-HEADER (&OPTIONAL S)

MAKE-ZIPFILE (&KEY ((STREAM DUM415) NIL) ((ENTRIES DUM416) NIL) ((EXTERNAL-FORMAT DUM417) NIL))

MAKE-ZIPFILE-ENTRY (&KEY ((NAME DUM455) NIL) ((STREAM DUM456) NIL) ((OFFSET DUM457) NIL) ((SIZE DUM458) NIL) ((COMPRESSED-SIZE DUM459) NIL) ((COMMENT DUM460) NIL))

MAKE-ZIPFILE-WRITER (PATHNAME &KEY (IF-EXISTS ERROR) (EXTERNAL-FORMAT (DEFAULT-EXTERNAL-FORMAT)))

MAKE-ZIPWRITER (&KEY ((STREAM DUM501) NIL) ((COMPRESSOR DUM502) NIL) ((HEAD DUM503) NIL) ((TAIL DUM504) NIL) ((EXTERNAL-FORMAT DUM505) NIL))

MAKE-ZIPWRITER-ENTRY (&KEY ((NAME DUM545) NIL) ((POSITION DUM546) NIL) ((HEADER DUM547) NIL))

NEW-BIT-READER (STREAM)

OCTETS-TO-STRING (OCTETS EF)

PROCESS-DEFLATE-BLOCK (BR OP BUFFER END)

PROCESS-DYNAMIC-HUFFMAN-BLOCK (BR OP BUFFER END)

PROCESS-FIXED-HUFFMAN-BLOCK (BR OP BUFFER END)

PROCESS-HUFFMAN-BLOCK (BR OP LENGTHLIT-TREE MINWIDTH DISTANCE-TREE MINDISTWIDTH BUFFER END)

PROCESS-NON-COMPRESSED-BLOCK (BR OP BUFFER END)

PUT-BYTE-IN-BUFFER (OP BYTE BUFFER END)

READ-BITS (BR COUNT)

READ-ENTRY-OBJECT (S EXTERNAL-FORMAT)

READ-UWORD (STREAM)

RESET-BIT-READER (BR)

SEEK-TO-END-HEADER (S)

SPLIT-ON-POSITION (MINVAL MINMAXES VALUECODE VALUEWIDTH POS)

STRING-TO-OCTETS (STRING EF)

WRITE-CENTRAL-DIRECTORY (Z)

SETFZIPFILE-ENTRY-COMPRESSED-SIZE (NEW-VALUE INSTANCE)

SETFZIPFILE-ENTRY-OFFSET (NEW-VALUE INSTANCE)

ZIPFILE-ENTRY-P (OBJECT)

SETFZIPFILE-ENTRY-STREAM (NEW-VALUE INSTANCE)

SETFZIPFILE-EXTERNAL-FORMAT (NEW-VALUE INSTANCE)

ZIPFILE-P (OBJECT)

SETFZIPFILE-STREAM (NEW-VALUE INSTANCE)

SETFZIPWRITER-COMPRESSOR (NEW-VALUE INSTANCE)

SETFZIPWRITER-ENTRY-HEADER (NEW-VALUE INSTANCE)

SETFZIPWRITER-ENTRY-NAME (NEW-VALUE INSTANCE)

ZIPWRITER-ENTRY-P (OBJECT)

SETFZIPWRITER-ENTRY-POSITION (NEW-VALUE INSTANCE)

SETFZIPWRITER-EXTERNAL-FORMAT (NEW-VALUE INSTANCE)

SETFZIPWRITER-HEAD (NEW-VALUE INSTANCE)

ZIPWRITER-P (OBJECT)

SETFZIPWRITER-STREAM (NEW-VALUE INSTANCE)

SETFZIPWRITER-TAIL (NEW-VALUE INSTANCE)

MACRO

Public

Undocumented

DO-ZIPFILE-ENTRIES ((NAME ENTRY ZIPFILE) &BODY BODY)

WITH-OUTPUT-TO-ZIPFILE ((VAR PATHNAME &KEY (IF-EXISTS ERROR)) &BODY BODY)

WITH-ZIPFILE ((FILE PATHNAME &KEY EXTERNAL-FORMAT) &BODY BODY)

Private

Undocumented

DEFINE-RECORD (CONSTRUCTOR (&KEY (LENGTH (GENSYM))) &REST FIELDS)

IF* (&REST ARGS)

GENERIC-FUNCTION

Public

Undocumented

CLOSE-ZIPFILE (ZIPFILE)

GET-ZIPFILE-ENTRY (NAME ZIPFILE)

ZIPFILE-ENTRY-CONTENTS (ENTRY &OPTIONAL STREAM)

SLOT-ACCESSOR

Private

Undocumented

BUF (OBJECT)

SETFBUF (NEW-VALUE OBJECT)

INPUT-HANDLE (OBJECT)

SETFINPUT-HANDLE (NEW-VALUE OBJECT)

POS (OBJECT)

SETFPOS (NEW-VALUE OBJECT)

SIZE (OBJECT)

SETFSIZE (NEW-VALUE OBJECT)

VARIABLE

Private

Undocumented

*BASE-DISTANCE*

*BASE-LENGTH*

*CODE-INDEX*

*DISTANCE-EXTRA-BITS*

*FIXED-HUFFMAN-DISTANCE-TREE*

*FIXED-HUFFMAN-TREE*

*LENGTH-EXTRA-BITS*

*MASKARRAY*

IF*-KEYWORD-LIST

CLASS

Public

Undocumented

ZIPFILE

Private

Undocumented

BIT-READER

BUFFER-OUTPUT-STREAM

TRUNCATING-STREAM

ZIPFILE-ENTRY

ZIPWRITER

ZIPWRITER-ENTRY

CONSTANT

Private

Undocumented

+END-HEADER-LENGTH+

GZ_ASCII_FLAGS

GZ_COMMENT

GZ_EXTRA_FIELD

GZ_HEAD_CRC

GZ_ORIG_NAME

GZ_RESERVED

Z_DEFLATED