SimpleIOStream


Object Hierarchy:

GLib.SimpleIOStream GLib.SimpleIOStream GLib.SimpleIOStream GLib.IOStream GLib.IOStream GLib.IOStream->GLib.SimpleIOStream GLib.Object GLib.Object GLib.Object->GLib.IOStream

Description:

[ CCode ( type_id = "g_simple_io_stream_get_type ()" ) ]
[ Version ( since = "2.44" ) ]
public class SimpleIOStream : IOStream

GSimpleIOStream creates a IOStream from an arbitrary InputStream and OutputStream.

This allows any pair of input and output streams to be used with IOStream methods.

This is useful when you obtained a InputStream and a OutputStream by other means, for instance creating them with platform specific methods as g_unix_input_stream_new or g_win32_input_stream_new, and you want to take advantage of the methods provided by IOStream.


Namespace: GLib
Package: gio-2.0

Content:

Properties:

Creation methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org