Return the element number of ring buffer.
uint32_t ringbuffer_num( const struct ringbuffer *const rb )
Type: const struct ringbuffer Struct *const
The pointer to a ring buffer structure instance
Type: uint32_t
The number of elements in ring buffer [0, rb->size]