Show / Hide Table of Contents

Method FastBuffer<T>.SetPosition


Overload

Sets the position for next FastBuffer<T>.Write or FastBuffer<T>.TryRead. Note: the write/read methods update the position.

public void SetPosition(int value)
Parameters
value  (int)
Exceptions
ArgumentOutOfRangeException

The setter throws if the value is negative or > FastBuffer<T>.n.