Ring1_ByteBuffer_getNumberOfBytes
Get the number of Byte in a Byte buffer.
Ring1_Result
Ring1_ByteBuffer_clear
(
size_t* result,
Ring1_ByteBuffer *byteBuffer
)
This function clears a Byte buffer.
Parameter variables
result
- A pointer to a
size_t
variable. byteBuffer
- A pointer to the Byte buffer.
Return Values
Ring1_Result_Success
on success, Ring1_Result_Failure
on failure.
Post Conditions
If this function fails, then it sets the by-thread status variable.
Below is a list of failure conditions and the status codes indicating them.
Ring1_Status_InvalidArgument
result
and/orbyteBuffer
is a null pointer