Contents

AppendData

Declaration

virtual kern_return_t AppendData(OSData *data);

Parameters

  • data:

    Data to be inserted

Return Value

0 in case of success. Negative in case of an error.

Discussion

This function is called to insert data into the buffer.

This function overwrites the data in the buffer. The write starts from last written byte and continues until ‘len’