Struct FixedList16Bytes<T>
- Namespace
- Core.Collections.Fixed
- Assembly
- Core.dll
public struct FixedList16Bytes<T> : IFixedList<T> where T : unmanaged
Type Parameters
T
- Implements
-
IFixedList<T>
- Extension Methods
Constructors
FixedList16Bytes(int)
public FixedList16Bytes(int minExpectedCapacity)
Parameters
minExpectedCapacityint
Properties
Capacity
public int Capacity { get; }
Property Value
- int
Count
public readonly int Count { get; }
Property Value
- int
IsReadOnly
public bool IsReadOnly { get; }
Property Value
- bool
this[int]
public T this[int i] { get; set; }
Parameters
iint
Property Value
- T
Methods
Add(T)
public void Add(T item)
Parameters
itemT
Clear()
public void Clear()
Contains(T)
public bool Contains(T item)
Parameters
itemT
Returns
- bool
CopyTo(T[], int)
public void CopyTo(T[] array, int arrayIndex)
Parameters
arrayT[]arrayIndexint
CreateFromList<TList>(TList)
public static FixedList16Bytes<T> CreateFromList<TList>(TList items) where TList : IReadOnlyList<T>
Parameters
itemsTList
Returns
Type Parameters
TList
GetEnumerator()
public ListEnumerator<FixedList16Bytes<T>, T> GetEnumerator()
Returns
- ListEnumerator<FixedList16Bytes<T>, T>
IndexOf(T)
public int IndexOf(T item)
Parameters
itemT
Returns
- int
Insert(int, T)
public void Insert(int index, T item)
Parameters
indexintitemT
Remove(T)
public bool Remove(T item)
Parameters
itemT
Returns
- bool
RemoveAt(int)
public void RemoveAt(int index)
Parameters
indexint