InputStream


Object Hierarchy:

Object hierarchy for InputStream

Description:

[ CCode ( type_id = "g_input_stream_get_type ()" ) ]
public abstract class InputStream : Object

`GInputStream` is a base class for implementing streaming input.

It has functions to read from a stream ([method@Gio.InputStream.read]), to close a stream ([method@Gio.InputStream.close]) and to skip some content ([method@Gio.InputStream.skip]).

To copy the content of an input stream to an output stream without manually handling the reads and writes, use [ method@Gio.OutputStream.splice].

See the documentation for [class@Gio.IOStream] for details of thread safety of streaming APIs.

All of these functions have async variants too.

Required by:

Namespace: GLib
Package: gio-2.0

Content:

Creation methods:

Methods:

Inherited Members: