Removes all items from the queue.
Peek at the next item that would be popped from the queue.
Pops an item from the queue.
Reserves space for an item of <size> bytes on the queue but doesn't fill the content. The caller is expected to fill in the content using the returned slice.
Pushes an item into the queue.
Tells whether the queue is empty.
Finds out whether the provided number of bytes will fit in the queue.
Base class for a queue storing raw ubyte data.