Function
Returns a sequence containing all the elements up to, and including, the last element of the stream.
read-to-end input-stream => sequence
<stream>.
<sequence>.
io
streams
Returns a sequence of all the elements up to, and including, the last element of input-stream, starting from the stream's current position.
The type of the result sequence is as described for read. There is no special end-of-stream behavior; if the stream is already at its end, an empty collection is returned.
read-to-end(make(<string-stream>,
contents: "hello there, world",
start: 6,
end: 11));