lisp-binary
lisp-binary copied to clipboard
A library to easily read and write complex binary formats.
In order to get macro `defbinary` to work correctly on AllegroCL 11 Enterprise Edition I needed to adapt calling a restart and the restart's name from `continue` to `continue-with-next-expander` to...
Hi all: The following code results in an error: `(defbinary packet-header (:export t :byte-order :big-endian) ((packet-type class-identifier-p indicators tsi tsf packet-count packet-size) 0 :type (bit-field :raw-type (unsigned-byte 32) :member-types ((unsigned-byte...
I purportedly implemented a feature allowing the use of Lisp-Binary without CFFI. But I forgot about the fact that `nanp` and `infinityp` are just front-ends to their C counterparts. Also,...
Consider the EDID format used by HDMI monitors: https://en.wikipedia.org/wiki/Extended_Display_Identification_Data#EDID_1.4_data_format Part of this spec calls for an integer whose lowest 8 bits are followed by the lowest 8 bits of an...
Tests are totally broken for Travis CI. It seems to be an unfixable issue with my account. The only alternative that will work is to manually set up a box...
LISP-BINARY can handle terminated byte buffers and terminated strings, but it's also common in binary formats to have lists of complex structures terminated by some byte sequence. The byte sequence...
`lisp-binary::pad-fixed-length-string` adds its padding before encoding. This works fine for encodings such as ASCII and Latin-1, but will fail for encodings such as UTF-8, in which the byte length may...
I have a packet header header defined as follows. How do I ensure that 1. `size` is less than 1023, 2. `header_crc` matches the checksum of the first 3 bytes...
Hey, what do you think of adding something like this to the codebase? (I hope I added it in the right place) What this macro does is create helper read/write...