I wonder if I'm missing something...
"David McClain (as dbm at refined-audiometrics dot com)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
I keep running into the need to overload vectors for I/O purposes, where the I/O channel only works in units of octets, but my data is actually vectors of single-precision floats. Unlike C, there seems no way to overload a pointer to a buffer for READ-SEQUENCE. You must allocate the buffer as a static type. And so you can’t easily read a stream of octets and then turn around and see the vector as filled with single-precision floating point values. Maybe some old timers out there know a thing or two to get around this apparent limitation in Lisp? _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html