Next Previous Up Top Contents Index

5.11 The STREAMS module

<unicode-string-stream>

Open instantiable class

Summary

The class of streams over Unicode strings.

Superclasses

<string-stream>

Init-keywords

contents:
A general instance of <sequence>.

direction:
Specifies the direction of the stream. It must be one of #"input", #"output", or #"input-output". Default value: #"input".

start:
An instance of <integer>. This specifies the start position of the Unicode string to be streamed over. Only valid when direction: is #"input". Default value: 0.

end:
An instance of <integer>. This specifies the sequence position immediately after the portion of the Unicode string to stream over. Only valid when direction: is #"input". Default value: contents.size.

Library

io

Module

streams

Description

The class of streams over Unicode strings. It is a subclass of <string-stream>.

The contents: init-keyword is used as the input for an input stream, and as the initial storage for an output stream. If it is a stretchy vector, then it is the only storage used by the stream.

The class supports the same init-keywords as <sequence-stream>.

The start: and end: init-keywords specify the portion of the Unicode string to create the stream over: start: is inclusive and end: is exclusive. The default is to stream over the entire Unicode string.

Operations

make unicode-string-stream-class

See also

make unicode-string-stream-class, page 79

<sequence-stream>, page 91


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index