M42.Collections by Daniel Pelsmaeker

<PackageReference Include="M42.Collections" Version="0.6.5056.5071" />


public abstract class BinaryReaderArray<T> : IList<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable
An array of elements read from a binary reader.
public abstract int Count { get; }

public bool IsEmpty { get; }

public T this[int index] { get; }

public BinaryReader Reader { get; }

Gets the binary reader.

public BinaryReaderArray(BinaryReader reader, long offset, int elementSize)

Initializes a new instance of the BinaryReaderArray<T> class.

public bool Contains(object value)

public T GetMember(object value, out bool isPresent)

public T GetMember(object value)

public int? IndexOf(object value)

public bool IsValidMember(object value)

protected abstract T ReadElement()

Reads an element from the current position of the binary reader.

protected T ReadElementAtIndex(int index)

Reads the element with the specified index.