>>>>> "Nicolas" == Nicolas Neuss <[EMAIL PROTECTED]> writes:

    Nicolas> for the purpose of exchanging binary data with external
    Nicolas> tools, I would be interested in some method for writing
    Nicolas> out uniform arrays of integers and double-float numbers
    Nicolas> to a binary stream.  Is there some (CMUCL-specific)
    Nicolas> command for doing this, i.e. some analogue to fread and
    Nicolas> fwrite in C?

I think simple-streams and gray-streams can do this, if you write
enough code.  I guess plain Lisp can too.

But perhaps Lynn Quam's read-vector and write-vector stuff will be
more helpful to you.  They're available in the latest snapshot and
allow reading and writing of binary data to streams.  

You need to set LISP::*FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT* to
non-NIL to get this.  See the release notes.

Ray



Reply via email to