Constructor. Creates and opens the files and buffered inputs and outputs. Moves the file pointers to the correct position in the files and marks the files as open.
Deletes all items
Tells whether the queue is empty.
Returns the element that would be popped next, without poppin' it
Popps the next element
Pushes an item into 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.
Finds out whether the provided number of bytes will fit in the queue.
Checks whether a file and the associated index file exist at the specified path.
Removes all items 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.
Pops an item from the queue.
Peek at the next item that would be popped from the queue.