StreamSourceFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate int StreamSourceFunc (Stream stream, out unowned string[] buf)

Parameters:

stream

a Stream

buf

data pointer

nbytes

data size

user_data

user data passed to the function

Returns:

the number of bytes filled, 0 upon end of file, or -1 upon error


Namespace: GVir



2022 vala-language.org