Microsoft.Azure.Amqp.ByteBuffer.AdjustPosition C# (CSharp) Method

AdjustPosition() public method

public AdjustPosition ( int offset, int length ) : void
offset int
length int
return void
        public void AdjustPosition(int offset, int length)
        {
            Fx.Assert(offset >= this.start, "Invalid offset!");
            Fx.Assert(offset + length <= this.end, "length too large!");
            this.read = offset;
            this.write = this.read + length;
        }