Ring |
The RingBufferT type exposes the following members.
Name | Description | |
---|---|---|
![]() | RingBufferT | Initializes a new instance of the RingBufferT class. |
Name | Description | |
---|---|---|
![]() | Count | Gets the number of elements in the ring buffer. |
![]() | IsEmpty | Gets a value indicating whether this instance is empty. |
Name | Description | |
---|---|---|
![]() | Add(FuncT, Int32, Int32, Int32) | Adds items to the buffer by using a read function that reads such items. For instance, Read(Byte, Int32, Int32) is such a function. |
![]() | Add(T) | Adds the specified item to the buffer. |
![]() | Clear | Clears (empties) the ring buffer. |
![]() | EnumerateFourItems | Enumerates four items at a time. The forward step is nevertheless 1, i.e. in the next yield the second item is now the first one. |
![]() | EnumerateFourItems(Int32) | Enumerates four items at a time. |
![]() | EnumerateOneItem | Enumerates one single item at a time. |
![]() | EnumerateOneItem(Int32) | Enumerates one single item at a time. |
![]() | EnumerateThreeItems | Enumerates three items at a time. The forward step is nevertheless 1, i.e. in the next yield the second item is now the first one. |
![]() | EnumerateThreeItems(Int32) | Enumerates three items at a time. |
![]() | EnumerateTwoItems | Enumerates two items at a time. The forward step is nevertheless 1, i.e. in the next yield the second item is now the first one. |
![]() | EnumerateTwoItems(Int32) | Enumerates two items at a time. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
![]() | FourItemsAt | Gets the four items at index, index+1, index+2, and index+3. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | ItemAt | Gets the item at index. The index zero refers to the oldest item in the buffer, 1 to the second oldest item, etc. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | RemoveItems | Removes the n oldest items from the buffer. |
![]() | ThreeItemsAt | Gets the three items at index, index+1, and index+2. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
![]() | TryPeek | Try the peek an item. |
![]() | TryRemove | Try the remove an item from the buffer. |
![]() | TwoItemsAt | Gets the two items at index index and index+1. |