Documentation cleanup

This commit is contained in:
Dan Ballard 2009-08-12 16:53:32 -07:00
parent 75c50ca55a
commit fcaeda281a
3 changed files with 12 additions and 9 deletions

View File

@ -1,4 +1,4 @@
0.2 2009-07
0.2 2009-08-12
- added support for signed numbers that mirrors perl's
- fixed native endian selection bug
- added w (BER: Binary Encoded Representation)

2
README
View File

@ -1,6 +1,6 @@
CL-PACK
Dan Ballard <http://mindstab.net>
June 2009
August 2009
CL-PACK supplier perl/php/ruby compatible pack() and unpack() functions to allow easy use of binary protocols with the above mentioned languages and C.

View File

@ -51,8 +51,9 @@
;;;d double precision float
;;;x null byte
;;;X Backup a byte
;;;X Backup a byte (pack only)
;;; (pack only)
;;;@ Null fill or truncate to absolute position specified by repeater
;;;. Null fill or truncate to absolute position specified by value/argument
@ -85,6 +86,14 @@
;;; () Example: (pack "(cc)3" 65 66 67 68 69 70) => "ABCDEF"
;;; Example: (unpack "(cc)3") "ABCDEF") => (65 66) (67 68) (69 70)
;;; ***** / Template *****
;;; sequence length / sequence item
;;; in pack, writes out how ever many sequence items PRECEDED by the length
;;; in the form of sequence length
;;; example: (pack "a/c3" 65 66 67) => "3ABC"
;;; in unpack, reads the length and unpacks that many
;;; example: (unpack "a/c" "3ABC") => (65 66 67)
;;; **** NOTE *****
;;; A lot use users of pack() and unpack() in other languages
@ -94,12 +103,6 @@
;;; specified
;;; in cl-pack you can also use q< , q> , Q< and Q>
;;; ************* TODO ***************
;;;! MODIFIER, different uses in context
;;; / template
;;; ***************** CL-PACK **********************