dcpu16-emulator ~master (2014-06-26T15:05:24Z)
Dub
Repo
RingBuffer
emulator
utils
ringbuffer
@
safe
nothrow
struct
RingBuffer (
E
size_t
bufSize
OnBufferFull
onBufferFull
=
OnBufferFull
.
overwrite
) {
E
[
bufSize
]
buffer
;
size_t
frontPos
;
size_t
backPos
;
size_t
length
;
E
popBack
()
;
E
popFront
()
;
}
Members
Functions
popBack
E
popBack
()
Dequeue item from queue.
popFront
E
popFront
()
Dequeue item from queue.
Meta
Source
See Implementation
emulator
utils
ringbuffer
structs
RingBuffer