Method GetReadIndex
GetReadIndex(ulong)
Computes the index to read from next in the buffer. The range is 0 through Capacity-1.
Declaration
public int GetReadIndex(ulong readCount)
Parameters
Type | Name | Description |
---|---|---|
ulong | readCount | The total number of elements that have been read from the buffer. |
Returns
Type | Description |
---|---|
int | The read index. |