Amqp.ByteBuffer.Seek C# (CSharp) Method

Seek() public method

Sets the read position.
public Seek ( int seekPosition ) : void
seekPosition int Position to set.
return void
        public void Seek(int seekPosition)
        {
            Fx.Assert(seekPosition >= 0, "seekPosition must not be negative.");
            Fx.Assert((this.start + seekPosition) <= this.write, "seekPosition too large.");
            this.read = this.start + seekPosition;
        }