Contents

SetUsedLen

Declaration

virtual kern_return_t SetUsedLen(uint32_t used_len);

Parameters

  • used_len:

    The length of the buffer used by the client.

Return Value

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

Discussion

This function is called to set the used len of the buffer