removeFirst(_:)

    Removes the specified number of elements from the beginning of the CircularBuffer.

    CircularBuffer.swift:605
    mutating func removeFirst(_ k: Int)

    Parameters

    k

    The number of elements to remove. k must be greater than or equal to zero and must not exceed the number of elements in the CircularBuffer.

    Calling this method may invalidate any existing indices for use with this CircularBuffer.

    Other members in extension

    Types

    Typealiases

    Type members

    Instance members

    Show implementation details (4)

    Hide implementation details