Scieneer Common Lisp 1.3.9 online documentation

ext:stream-out-buffer object[Function]

Accessor for the stream output 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 output buffer. If the stream does not handle output or if the stream operates in unbuffered mode than the buffer length must be zero. The default slot definitions for ext:character-stream and ext:binary-stream initialize the output buffer to an appropriate zero length buffer if not already initialized. When the stream is closed for output it must still have an appropriate output buffer but the vector elements are not accessed so a small shared vector may be used - a stream operating in buffered output mode must have an output 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-out-buffer object) new-value)[Function]