Read data locally to send to the protocol for a file transfer.
The default class handler will read from a file using standard library
functions. If you connect to this signal, you must connect to
|Default handler: |
The default handler is called after the handlers added via
|Available since: 3.0.0|
A pointer to a buffer to fill.
The argument will be set by the function. The argument can be set to
NULLby the signal handler.
The called function takes ownership of the data, and is responsible for freeing it.
The maximum amount of data to put in the buffer.