Class | Package: excl | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## buffer-output-simple-stream

This class is a subclass of `direct-simple-stream`. This class describes a stream which writes from an octet buffer, in a similar manner to a `string-output-simple-stream`, which writes from a lisp string.

The options when creating an instance of this class are buffer and external-format. The buffer option can either be an octet buffer (a vector which is a `simple-array` with element type `(unsigned-byte 8)` or `(signed-byte 8)`), or `nil`. If it is `nil`, the stream acts like a counting bit-bucket; no output is generated, and so no overflow can occur, but the file-position of the stream can be queried at the end of the write. See with-output-to-buffer.

See streams.htm for general information on simple-streams in Allegro CL. See also make-buffer-output-stream.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version