All Manuals > LispWorks User Guide and Reference Manual > 48 The STREAM Package

NextPrevUpTopContentsIndex

stream-write-sequence

Generic Function
Summary

Writes a subsequence of a sequence to a stream.

Package

stream

Signature

stream-write-sequence stream sequence start end => result

Arguments

stream

A stream.

sequence

A sequence.

start

An integer.

end

An integer.

Values

result

A sequence.

Description

The generic function stream-write-sequence is used by write-sequence to write a subsequence of sequence delimited by start and end to stream.

A default method is provided by fundamental-character-output-stream that tests each element of sequence in turn, and then uses stream-write-char or produces an error. A default method is provided by fundamental-binary-output-stream that tests each element of sequence in turn, and then uses stream-write-byte or produces an error.

See also

fundamental-binary-output-stream
fundamental-character-output-stream
stream-read-sequence
stream-write-byte
stream-write-char


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex