Next Previous Up Top Contents Index

5.11 The STREAMS module

<buffered-stream>

Open abstract class

Summary

A subclass of <stream> supporting the Stream Extension and Buffer Access protocols.

Superclasses

<stream>

Init-keywords

buffer-size:
An instance of <integer>. This is the size of the buffer in bytes.

Library

io

Module

streams

Description

A subclass of <stream> supporting the Stream Extension Protocol and the Buffer Access Protocol. It is not instantiable.

Streams of this class support the buffer-size: init-keyword, which can be used to suggest the size of the stream's buffer. However, the instantiated stream might not use this value: it is taken purely as a suggested value. For example, a stream that uses a specific device's hardware buffer might use a fixed buffer size regardless of the value passed with the buffer-size: init-keyword.

In general, it should not be necessary to supply a value for the buffer-size: init-keyword.


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index