FlexibleByteRingQueue.pushSize

Tells how much space an item of the specified size would take up when written into the queue. (Including the size of the required item header.)

  1. size_t pushSize(void[] item)
  2. size_t pushSize(size_t bytes)
    class FlexibleByteRingQueue
    static
    size_t
    pushSize
    (
    size_t bytes
    )

Parameters

bytes size_t

number of bytes to calculate push size of

Return Value

Type: size_t

number of bytes the item would take up if pushed to the queue

Meta