file_load_partial_contents_bytes


Description:


[ Version ( since = "1.2" ) ]
public Future file_load_partial_contents_bytes (File file, owned FileReadMoreCallback? read_more_callback)

Wraps [method@Gio.

File.load_partial_contents_async].

Parameters:

file

a [iface@Gio.File]

read_more_callback

callback to determine if more bytes should be loaded

read_more_callback_data

user data for read_more_callback

read_more_callback_data_destroy

destroys read_more_callback_data

Returns:

a [class@Dex.Future] that resolves to a [struct@GLib.Bytes] or rejects with error.


Namespace: Dex
Package: libdex-1