Open generic function
Reads a number of elements from a stream into a sequence.
read-into! input-stream n sequence #key start on-end-of-stream => count-or-eof
<stream>.
<integer>.
<mutable-sequence>.
<integer>.
<object>.
io
streams
Reads the next n elements from input-stream, and inserts them into a mutable sequence starting at the position start. Returns the number of elements actually inserted into sequence unless the end of the stream is reached, in which case the on-end-of-stream behavior is as for read.
If the sum of start and n is greater than the size of sequence, read-into! reads only enough elements to fill sequence up to the end. If sequence is a stretchy vector, no attempt is made to grow it.
If the stream is not at its end, read-into! waits until input becomes available.