FlexibleByteRingQueue.willFit

Finds out whether the provided item will fit in the queue. Also considers the need of wrapping.

  1. bool willFit(void[] item)
    class FlexibleByteRingQueue
    bool
    willFit
    (
    in void[] item
    )
  2. bool willFit(size_t bytes)

Parameters

item void[]

item to check

Return Value

Type: bool

true if the item fits, else false

Meta