This is the cl-pack Reference Manual, version 1.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:15:01 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-pack
Perl compatible binary pack() and unpack() library
Dan Ballard <dan@mindstab.net>
BSD-3-Clause
1.0.1
ieee-floats
(system).
package.lisp
(file).
cl-pack.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-pack/cl-pack.lisp
cl-pack
(system).
2hex-to-byte
(function).
8bits-to-byte
(function).
ber-decode
(function).
ber-encode
(function).
ber-str-length
(function).
bit-pack
(function).
bit-unpack
(function).
byte-to-2hex
(function).
byte-to-2hex-rev
(function).
byte-to-8bits
(function).
byte-to-8bits-rev
(function).
bytes-to-list
(function).
bytes-to-string
(function).
bytes-to-string-rev
(function).
cut-str
(macro).
def-form-parser
(macro).
endian-type-to-func
(function).
find-matching-paren
(function).
gen-modifiers-list
(macro).
handle-string
(macro).
hex-pack
(function).
hex-to-number
(function).
hex-unpack
(function).
inc-form
(macro).
next-char
(function).
pack-int
(macro).
pack-string
(macro).
set-modifiers
(macro).
strhead
(function).
string-to-bytes
(function).
string-to-bytes-rev
(function).
strtail
(function).
twos-complement
(function).
un-endian-type-to-func
(function).
un-twos-complement
(function).
unpack-bytes
(function).
unpack-int
(macro).
unpack-mod!-uint
(macro).
unpack-string
(macro).
unpack-uint
(macro).
Packages are listed by definition order.
cl-pack
common-lisp
.
ieee-floats
.
2hex-to-byte
(function).
8bits-to-byte
(function).
ber-decode
(function).
ber-encode
(function).
ber-str-length
(function).
bit-pack
(function).
bit-unpack
(function).
byte-to-2hex
(function).
byte-to-2hex-rev
(function).
byte-to-8bits
(function).
byte-to-8bits-rev
(function).
bytes-to-list
(function).
bytes-to-string
(function).
bytes-to-string-rev
(function).
cut-str
(macro).
def-form-parser
(macro).
endian-type-to-func
(function).
find-matching-paren
(function).
gen-modifiers-list
(macro).
handle-string
(macro).
hex-pack
(function).
hex-to-number
(function).
hex-unpack
(function).
inc-form
(macro).
next-char
(function).
pack-int
(macro).
pack-string
(macro).
set-modifiers
(macro).
strhead
(function).
string-to-bytes
(function).
string-to-bytes-rev
(function).
strtail
(function).
twos-complement
(function).
un-endian-type-to-func
(function).
un-twos-complement
(function).
unpack-bytes
(function).
unpack-int
(macro).
unpack-mod!-uint
(macro).
unpack-string
(macro).
unpack-uint
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
macro for building string type bodies for case statements in pack() or unpack()
create a subseq of form that skips the current syntax object
Macro to define the pack function for an int
macro for building string type bodies for case statements in pack()
Macro to define the unpack function for a signed int
macro to define a normal uint that with the ! modifier is a signed int
macro for building string type bodies for case statements in unpack()
Macro to define the unpack function for an unsigned int
Turn a 2 hex digit string into a number unpacked by mapper
turns a string of 8 or less bits into a byte
byte-form specifies the packing order of bits into the byte, deaulting to decending order
Take a BER number as a binary string and returns a number
function to encode a BER number into a binary byte string
pack a bit string into a byte string, decending order by default
turn a string of bytes into an extended string of bits unpacked by unpack-fn
Turn a byte into a string of 2 hex characters
turns a byte into a string of bits
convert a byte to a bit string, lowest bit first
bytes: Some binary data in lisp number form that ldb can access bytes-to-list pulls out 8bit bytes from bytes and turns them into their corresponding characters and returns the list of them
puts length bytes from bytes into a string
puts length bytes from bytes into a reversed string
turn a string of hex digits into a string of packed bytes, unpacking 2 hex digits at a time by mapper
turn a character of 0-9 or a-f or A-F into a hex digit of 0-15
Turn a string of bytes into a string of hex digits
Get the next char from a string of null if offset is past end of string
returns a char that is the first char of str
returns the rest of str
takes length bytes from string and returns an int
Jump to: | 2
8
B C D E F G H I M N P S T U |
---|
Jump to: | 2
8
B C D E F G H I M N P S T U |
---|
Jump to: | C F P S |
---|
Jump to: | C F P S |
---|