IByteQueue.push

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.

  1. void[] push(size_t size)
    interface IByteQueue
    void[]
    push
    (
    size_t size
    )
  2. bool push(void[] item)

Parameters

size size_t

size of the space of the item that should be reserved

Return Value

Type: void[]

slice to the reserved space if it was successfully reserved, else null

Meta