BufferedInputStream.fillAsync

Reads data into stream's buffer asynchronously, up to count size. io_priority can be used to prioritize reads. For the synchronous version of this function, see g_buffered_input_stream_fill(). If count is -1 then the attempted read size is equal to the number of bytes that are required to fill the buffer.

class BufferedInputStream
void
fillAsync

Parameters

count gssize

the number of bytes that will be read from the stream

ioPriority int

the I/O priority of the request

cancellable Cancellable

optional GCancellable object. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback. [scope async]

userData void*

a gpointer. closure

Meta