Constructor | Description |
|
|
|
|
Full Usage:
RingBuffer(position, values)
Parameters:
int
values : seq<'T>
Returns: RingBuffer<'T>
|
|
Instance member | Description |
Full Usage:
this.Advance(offset)
Parameters:
int
Returns: int
|
Advances the position of the RingBuffer by the offset. Returns the position of the RingBuffer. Throws an ArgumentException if the offset is negative.
|
Full Usage:
this.Buffer
Returns: 'T[]
|
|
|
|
Full Usage:
this.Insert(offset, items)
Parameters:
int
items : seq<'T>
|
|
Full Usage:
this.Insert(op, offset, items)
Parameters:
'T -> 'b -> 'T
offset : int
items : seq<'b>
|
|
Full Usage:
this.Normalize()
|
|
Full Usage:
this.Position
|
|
Full Usage:
this.ToArray()
Returns: 'T[]
|
|
Full Usage:
this.TryAdvance(offset)
Parameters:
int
Returns: int option
|
Tries to advance the position of the RingBuffer by the offset. Returns None if offset is negative, otherwise Some containing the position of the RingBuffer.
|