1.40 <GFilterOutputStream>

Class: <GFilterOutputStream>

It derives from <GOutputStream>.

Base class for output stream implementations that perform some kind of filtering operation on a base stream. Typical examples of filtering operations are character set conversion, compression and byte order flipping.

Fields

parent-instance
base-stream

Properties

Property: filter-output-stream:base-stream self

The underlying base stream on which the I/O ops will be done.

Its value is a <GOutputStream>, or #f.

It can only be set when the object is made, with #:base-stream.

Property: filter-output-stream:close-base-stream self

Whether the base stream should be closed when the filter stream is closed.

Its value is a boolean.

It can only be set when the object is made, with #:close-base-stream.

Procedures

Method: filter-output-stream:get-base-stream self ⇒ %return
Method: get-base-stream self ⇒ %return

Gets the base stream for the filter stream.

self

Passed: a <GFilterOutputStream>.

a <GFilterOutputStream>.

%return

Returned: a <GOutputStream>.

a <GOutputStream>.

Method: filter-output-stream:get-close-base-stream? self ⇒ %return
Method: get-close-base-stream? self ⇒ %return

Returns whether the base stream will be closed when self is closed.

self

Passed: a <GFilterOutputStream>.

a <GFilterOutputStream>.

%return

Returned: a boolean.

TRUE if the base stream will be closed.

Method: filter-output-stream:set-close-base-stream self close-base
Method: set-close-base-stream self close-base

Sets whether the base stream will be closed when self is closed.

self

Passed: a <GFilterOutputStream>.

a <GFilterOutputStream>.

close-base

Passed: a boolean.

TRUE to close the base stream.