read

Reads in a group of elements from a stream.

Reads in n elements from the stream starting from the the stream’s current position.  The type of the collection returned depends on the collection underlying the stream.  Handles end-of-stream conditions just as read-element does.

Exported from

Modifiers

open

Arguments

streamAn instance of <stream>.
nAn instance of <integer>.
on-end-of-stream:An instance of <object>.  The default is $not-supplied.

Values

sequence-or-eofAn instance of <sequence> or the value on-end-of-stream:.
Reads the next element from the stream and advances the stream’s position.
The streams-protocol module.
The streams module.
The superclass of all stream classes.
The class of integers.
The class of all Dylan objects.
A constant.
The class of collections whose keys are consecutive integers starting from zero.