Re: Juggling with binary files?



"Andreas Thiele" <nospam@xxxxxxxxxx> writes:

currently I have to process binary files. They contain 8, 16 and 32 bit values in little and big
endian format as well as 8 bit characters and any mix of these. I am thinking about easy access to
the individual values and don't want to re-invent the wheel.
[...]
1. Does something like this already exist?

Yes, see:

Practical: Parsing Binary Files
(chapter 24 of Peter Seibel's book "Practical Common Lisp";
source code available at the book site)
http://www.gigamonkeys.com/book/practical-parsing-binary-files.html

BINARY-TYPES
www.cl-user.net/asp/libs/binary-types


Paolo
--
Why Lisp? http://wiki.alu.org/RtL%20Highlight%20Film
The Common Lisp Directory: http://www.cl-user.net
.



Relevant Pages

  • Its done!
    ... of _Practical Common Lisp_. ... various aspects of Lisp and its history. ... the language standard and the author of the Common Lisp HyperSpec, ...
    (comp.lang.lisp)
  • Re: getting started
    ... now I'm following along with the first practical from "Practical Common ... However, as I'm building up the functionality interactively via REPL, how ... the heck do I save what I've accumulated in REPL to a .lisp file for later ...
    (comp.lang.lisp)
  • Have you bought Practical Common Lisp?
    ... I'm trying to make the case to Apress for keeping _Practical Common ... Lisp_ on the web after its published in book form. ...
    (comp.lang.lisp)
  • Re: Diving into CL....
    ... like a very powerful language that could be of great use to me. ... got a little experience with Scheme and a copy of Practical Common ... LISP so I'm not entirely in the dark but I have a few dumb ... What do you all recommend as a toolkit for writing GUI apps? ...
    (comp.lang.lisp)
  • Re: Pardon the Newbie Question...
    ... Practical Common Lisp ... Some of the online pages are missing, ... found online), and have started reading/digesting Practical Common ...
    (comp.lang.lisp)