FixedByteRingQueue.push

Pushes an element into the queue and returns a slice to that element. The value of the element must then be copied to the sliced location before the next push() or pop() is called.

  1. bool push(void[] element)
  2. void[] push(size_t ignored)
    class FixedByteRingQueue
    void[]
    push
    (
    size_t ignored = 0
    )

Return Value

Type: void[]

slice to the element pushed into the queue or null if the queue is full.

Meta