VocabularyioInputsOutputsGeneric word contractReads available data from the stream into the sequence
buf without blocking until all immediately available data is read or the length of
buf is reached. If no data is immediately available, blocks until data is available. Returns a
slice over the part of
buf that was written to, and a boolean that will be
f if the stream was exhausted.
NotesMost code only works on one stream at a time and should instead use
read-partial-into; see
Default input and output streams.
ErrorsThrows an error if the I/O operation fails.
Definition