Return the number of bytes available for reading.
@param rb a pointer to the ringbuffer structure.
@return the number of bytes available to read.
See Implementation
Return the number of bytes available for reading.
@param rb a pointer to the ringbuffer structure.
@return the number of bytes available to read.