FlexibleFileQueue.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. bool push(void[] item)
  2. void[] push(size_t size)
    class FlexibleFileQueue
    void[]
    push
    (
    size_t size
    )

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