<nikodemus@random-state.net> wrote:
+---------------
| Andy Cristina <acristin@cs.uno.edu> 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
stream.
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607