1.39 <GFilterInputStream>

Class: <GFilterInputStream>

It derives from <GInputStream>.

Base class for input 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-input-stream:base-stream self

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

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

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

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

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

Its value is a boolean.

Set it with (set! (filter-input-stream:close-base-stream self) value).

Procedures

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

Gets the base stream for the filter stream.

self

Passed: a <GFilterInputStream>.

a <GFilterInputStream>.

%return

Returned: a <GInputStream>.

a <GInputStream>.

Method: filter-input-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 <GFilterInputStream>.

a <GFilterInputStream>.

%return

Returned: a boolean.

#t if the base stream will be closed.

Method: filter-input-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 <GFilterInputStream>.

a <GFilterInputStream>.

close-base

Passed: a boolean.

#t to close the base stream.