Subject: Re: Binary IO question
From: (Rob Warnock)
Date: Tue, 11 May 2004 19:32:12 -0500
Newsgroups: comp.lang.lisp
Message-ID: <>
<> wrote:
| Andy Cristina <> wrote:
| > I'd really like to be able to write out 32 bit sized numbers to a file, in
| > binary.  While reading through CL:TL2, it seems that the only binary IO is
| > writing a single byte and reading a single byte.  And while this isn't bad
| Try looking in the hyperspec instead... OPEN accepts :element-type, which
| does what you want.

Additionally, look at the HyperSpec entries for READ-SEQUENCE and
WRITE-SEQUENCE, especially the notes at the bottom:

    An efficient implementation is more likely to exist for the case
    where the sequence is a vector with the same element type as the


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607