Learn R Programming

RGtk2 (version 2.20.31)

gBufferedInputStreamFillAsync: gBufferedInputStreamFillAsync

Description

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 gBufferedInputStreamFill.

Usage

gBufferedInputStreamFillAsync(object, count, io.priority = 0, cancellable = NULL, callback, user.data = NULL)

Arguments

count
the number of bytes that will be read from the stream.
io.priority
the I/O priority of the request.
cancellable
optional GCancellable object
user.data
a R object.

Details

If count is -1 then the attempted read size is equal to the number of bytes that are required to fill the buffer.