The number of bytes to allocate for the internal ring buffer.
The numbero of bytes to return
A copy of the peeked bytes.
The format string defining what we want to peek
The structure popped off of the buffer as a list of numbers
The numbero of bytes to return
The popped bytes that are removed now from the ring buffer
The format string defining what we want to pop
The structure popped off of the buffer as a list of numbers
The next chunk of data that we would like to parse into reports
Generated using TypeDoc
object
Utilities.type:RingBuffer
A fixed size binary ringbuffer built on top of a Javascript ArrayBuffer The RingBuffer allows pushing, popping and peeking chunks of data as well as popping and peeking typed structures using popAs and peekAs.
{number} offset The offset to the start of valid data in the ArrayBuffer
{number} count The count of valid data in the ArrayBuffer