GFileOutputStream: GFileOutputStream

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

Description

File output streaming operations

Methods and Functions

gFileOutputStreamQueryInfo(object, attributes, cancellable = NULL, .errwarn = TRUE)
gFileOutputStreamQueryInfoAsync(object, attributes, io.priority = 0, cancellable = NULL, callback, user.data = NULL)
gFileOutputStreamQueryInfoFinish(object, result, .errwarn = TRUE)
gFileOutputStreamGetEtag(object)

Hierarchy

1
2
3

Interfaces

GFileOutputStream implements GSeekable.

Detailed Description

GFileOutputStream provides output streams that write their content to a file.

GFileOutputStream implements GSeekable, which allows the output stream to jump to arbitrary positions in the file and to truncate the file, provided the filesystem of the file supports these operations.

To find the position of a file output stream, use gSeekableTell. To find out if a file output stream supports seeking, use gSeekableCanSeek.To position a file output stream, use gSeekableSeek. To find out if a file output stream supports truncating, use gSeekableCanTruncate. To truncate a file output stream, use gSeekableTruncate.

Structures

GFileOutputStream

A subclass of GOutputStream for opened files. This adds a few file-specific operations and seeking and truncating. GFileOutputStream implements GSeekable.

Author(s)

Derived by RGtkGen from GTK+ documentation

References

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


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