Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gio.InputStream

Class Gio.InputStream

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GInputStream
Class : InputStream
Subclasses: Gio.BufferedInputStream, Gio.ConverterInputStream, Gio.DataInputStream, Gio.FileInputStream, Gio.FilterInputStream
Extends: GObject.Object
GInputStream has functions to read from a stream (g_input_stream_read()),
to close a stream (g_input_stream_close()) and to skip some content
(g_input_stream_skip()).
To copy the content of an input stream to an output stream without
manually handling the reads and writes, use g_output_stream_splice().
All of these functions have async variants too.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
GdkPixbuf.Pixbuf
Method
new GdkPixbuf.Pixbuf.from_stream (InputStream stream, Cancellable cancellable) : GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
GdkPixbuf.Pixbuf
Method
new GdkPixbuf.Pixbuf.from_stream_at_scale (InputStream stream, gint32 width, gint32 height, gboolean preserve_aspect_ratio, Cancellable cancellable) : GdkPixbuf.Pixbuf
Create a new GdkPixbuf.Pixbuf
GdkPixbuf.Pixbuf
Method
GdkPixbuf.Pixbuf.new_from_stream_async (InputStream stream, Cancellable cancellable, Function callback, void* user_data) : none
Creates a new pixbuf by asynchronously loading an image from an input stream.
GdkPixbuf.Pixbuf
Method
GdkPixbuf.Pixbuf.new_from_stream_at_scale_async (InputStream stream, gint32 width, gint32 height, gboolean preserve_aspect_ratio, Cancellable cancellable, Function callback, void* user_data) : none
Creates a new pixbuf by asynchronously loading an image from an input stream.
Gio.BufferedInputStream
Method
new Gio.BufferedInputStream.c_new (InputStream base_stream) : Gio.InputStream
Create a new Gio.BufferedInputStream
Gio.BufferedInputStream
Method
new Gio.BufferedInputStream.sized (InputStream base_stream, guint32 size) : Gio.InputStream
Create a new Gio.BufferedInputStream
Gio.ConverterInputStream
Method
new Gio.ConverterInputStream.c_new (InputStream base_stream, Converter converter) : Gio.InputStream
Create a new Gio.ConverterInputStream
Gio.DataInputStream
Method
new Gio.DataInputStream.c_new (InputStream base_stream) : Gio.DataInputStream
Create a new Gio.DataInputStream
Gio.FilterInputStream
Property
base_stream : Gio.InputStream
Gio.FilterInputStream
Method
get_base_stream () : Gio.InputStream
Gets the base stream for the filter stream.
Gio.IOStream
Property
input_stream : Gio.InputStream read only
Gio.IOStream
Method
get_input_stream () : Gio.InputStream
Gets the input stream for this object.
Gio.LoadableIcon
Method
load (gint32 size, Object out_values, Cancellable cancellable) : Gio.InputStream
Loads a loadable icon.
Gio.LoadableIcon
Method
load_finish (AsyncResult res, String type) : Gio.InputStream
Finishes an asynchronous icon load started in g_loadable_icon_load_async().
Gio.OutputStream
Method
splice (InputStream source, OutputStreamSpliceFlags flags, Cancellable cancellable) : gint32
Splices an input stream into an output stream.
Gio.OutputStream
Method
splice_async (InputStream source, OutputStreamSpliceFlags flags, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data) : none
Splices a stream asynchronously.
Json.Parser
Method
load_from_stream (InputStream stream, Cancellable cancellable) : gboolean
Json.Parser
Method
load_from_stream_async (InputStream stream, Cancellable cancellable, Function callback, void* user_data) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:13 GMT+0800 (HKT)