Enqueue multiple bytes
Enqueue multiple bytes
bytes
Enqueue a single byte
Enqueue a single byte
byte
Current remaining capacity.
Current remaining capacity. In general this is not relevant, as the queue will grow as needed, but it can be useful for debugging
current capacity of the buffer
Dequeue bytes
Dequeue bytes
number of bytes to remove
Drop bytes
Drop bytes
number of bytes to drop
Enqueue multiple bytes
Enqueue multiple bytes
bytes
offset into the array to start reading, must be valid for the bytes passed in
number of bytes to enqueue, must be valid for the size of the bytes and offset passed in
Enqueue a single byte
Enqueue a single byte
byte
Number of bytes stored in this buffer
Growable byte queue that holds values in a circular array to minimize allocations