gio.file_input_stream
Module for FileInputStream class
Types 3
gio.file_input_stream.FileInputStream provides input streams that take their content from a file.
gio.file_input_stream.FileInputStream implements gio.seekable.Seekable, which allows the input stream to jump to arbitrary positions in the file, provided the filesystem of the file allows it. To find the position of a file input stream, use gio.seekable.Seekable.tell. To find out if a file input stream supports seeking, use vfunc@Gio.Seekable.can_seek. To position a file input stream, use vfunc@Gio.Seekable.seek.
Methods
FileInputStream self()Returns `this`, for use in `with` statements.FileInputStreamGidBuilder builder()Get builder for [gio.file_input_stream.FileInputStream] Returns: New builder objectgio.file_info.FileInfo queryInfo(string attributes, gio.cancellable.Cancellable cancellable = null)Queries a file input stream the given attributes. This function blocks while querying the stream. For the asynchronous (non-blocking) version of this function, see [gio.file_input_stream.FileInputS...void queryInfoAsync(string attributes, int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Queries the stream information asynchronously. When the operation is finished callback will be called. You can then call [gio.file_input_stream.FileInputStream.queryInfoFinish] to get the result of...gio.file_info.FileInfo queryInfoFinish(gio.async_result.AsyncResult result)Finishes an asynchronous info query operation.classFileInputStreamGidBuilderImpl(T) : gio.input_stream.InputStreamGidBuilderImpl!T, gio.seekable.SeekableGidBuilderImpl!T
Fluent builder implementation template for gio.file_input_stream.FileInputStream
Fluent builder for gio.file_input_stream.FileInputStream
Methods
FileInputStream build()Create object from builder. Returns: New object