tbx
0.7.6
|
Class with details of buffer transferred from another application. More...
#include <loader.h>
Public Member Functions | |
DataReceivedEvent (LoadEvent *event, void *buffer, int buffer_size, int received) | |
Construct with details of received buffer. | |
const LoadEvent & | load_event () const |
Return o LoadEvent that started the transfer. | |
void * | buffer () const |
Return the buffer the transmitted data has been copied too. | |
void | buffer (void *buf) |
Set the buffer address for the next bytes received. | |
int | buffer_size () const |
Return the buffer size of the current buffer. | |
void | buffer_size (int size) |
Set the buffer size for the next transmission from the other application. | |
int | received () const |
Number of bytes received. | |
bool | more () const |
Return true if more data is to come. | |
Class with details of buffer transferred from another application.