Scieneer Common Lisp 1.3.9 online documentation

ext:stream-in-buffer object[Function]

Accessor for the stream input buffer which must be a simple-string for character streams and a '(simple-array (unsigned-byte 8) (*)) for binary streams. All streams must have a stream input buffer. If the stream does not handle input or if the stream operates in unbuffered mode then the buffer length must be zero. The default slot definitions for ext:character-stream and ext:binary-stream initialize the input buffer to an appropriate zero length buffer if not already initialized. When the stream is closed for input it must still have an appropriate input buffer but the vector elements are not accessed so a small shared vector may be used - a stream operating in buffered input mode must have an input buffer of at least one element even when closed because the buffer length is used to dispatch to either unbuffered or buffered stream methods.

(setf (ext:stream-in-buffer object) new-value)[Function]