READ-BYTE/WRITE-BYTE and bivalent streams
So, instead of just (READ-BYTE STREAM) I'm currently using a kludge
like
(let ((buffer (make-array 1 :element-type '(unsigned-byte 8))))
(read-sequence buffer in)
(aref buffer 0))
which, er, looks kind of uncool to me. Same for WRITE-BYTE.
Does someone here have a nicer solution?
To LispWorks: Do you have plans to make READ/WRITE-BYTE adhere to
bivalent streams in LW 5.0?