Basics
Guides
API Reference
Basics
Guides
API Reference
[121:14] static extends: object
Generated metadata helpers for SimpleIOStream class surfaces.
properties ()
Returns property metadata for
SimpleIOStream.
A list.[20:7] extends: object
GSimpleIOStream creates a [class@Gio.IOStream] from an arbitrary
[class@Gio.InputStream] and [class@Gio.OutputStream]. This allows any pair of
input and output streams to be used with [class@Gio.IOStream] methods. This
is useful when you obtained a [class@Gio.InputStream] and a
[class@Gio.OutputStream] by other means, for instance creating them with
platform specific methods as
g_unix_input_stream_new()
(from gio-unix-2.0.pc / GioUnix-2.0), and you want to take advantage of
the methods provided by [class@Gio.IOStream].
SimpleIOStream (input_stream = null, output_stream = null)
Creates a new #GSimpleIOStream wrapping @input_stream and @output_stream. See also #GIOStream.
input_stream is a #GInputStream..output_stream is a #GOutputStream..toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asIOStream ()
Wraps this handle as
IOStream.
A IOStream object.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.