Is there a way to get the total number of items in the buffer? Also, I want to completely dump the buffer by calling `.pop()` in iteration. Can I call .pop and then check the size until the size is zero?
Is there a way to get the total number of items in the buffer?
Also, I want to completely dump the buffer by calling
.pop()in iteration. Can I call .pop and then check the size until the size is zero?