Contents

withCapacity

Factory method that constructs and initializes an IOPacketQueue object.

Declaration

static IOPacketQueue * withCapacity(
 UInt32 capacity = capacity);

Parameters

  • capacity:

    The initial capacity of the queue object. Can be later changed by calling the setCapacity() method.

Return Value

Returns an IOPacketQueue instance on success, or 0 otherwise.

See Also

Miscellaneous