Generic Function
stream
stream-read-sequence stream sequence start end => index
A stream.
A sequence.
An integer.
An integer.
An integer.
stream-read-sequence reads from stream into sequence. Elements from the start of sequence are replaced by elements from stream until end in sequence or the end-of-file in stream is reached. The index of the first element in sequence that is not replaced is returned. fundamental-character-input-stream which makes repeated calls tostream-read-char and uses(setf elt) to insert characters into sequence. A default method is provided byfundamental-binary-input-stream that makes repeated calls tostream-read-byte and also uses(setf elt) to insert bytes into sequence. Note that this may lead to error if the sequence is of inappropriate type. fundamental-binary-input-streamfundamental-character-input-streamstream-read-bytestream-read-char