clear method
void
clear()
Clears all frames from the buffer.
Implementation
void clear() {
_buffer.fillRange(0, capacity, null);
_head = 0;
_size = 0;
}
Clears all frames from the buffer.
void clear() {
_buffer.fillRange(0, capacity, null);
_head = 0;
_size = 0;
}