GInputStream: GInputStream

Description Methods and Functions Hierarchy Detailed Description Structures Author(s) References

Description

Base class for implementing streaming input

Methods and Functions

gInputStreamRead(object, count, cancellable = NULL, .errwarn = TRUE)
gInputStreamReadAll(object, count, cancellable = NULL, .errwarn = TRUE)
gInputStreamSkip(object, count, cancellable = NULL, .errwarn = TRUE)
gInputStreamClose(object, cancellable = NULL, .errwarn = TRUE)
gInputStreamReadAsync(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL)
gInputStreamReadFinish(object, result, .errwarn = TRUE)
gInputStreamSkipAsync(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL)
gInputStreamSkipFinish(object, result, .errwarn = TRUE)
gInputStreamCloseAsync(object, io.priority = 0, cancellable = NULL, callback, user.data = NULL)
gInputStreamCloseFinish(object, result, .errwarn = TRUE)
gInputStreamIsClosed(object)
gInputStreamHasPending(object)
gInputStreamSetPending(object, .errwarn = TRUE)
gInputStreamClearPending(object)

Hierarchy

1
2
3
4
5
6

Detailed Description

GInputStream has functions to read from a stream (gInputStreamRead), to close a stream (gInputStreamClose) and to skip some content (gInputStreamSkip).

To copy the content of an input stream to an output stream without manually handling the reads and writes, use gOutputStreamSplice.

All of these functions have async variants too.

Structures

GInputStream

Base class for streaming input operations.

Author(s)

Derived by RGtkGen from GTK+ documentation

References

https://developer.gnome.org/gio/stable/GInputStream.html


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to GInputStream in RGtk2...