Microsoft.Azure.Amqp.ByteBuffer.AdjustPosition C# (CSharp) Méthode

AdjustPosition() public méthode

public AdjustPosition ( int offset, int length ) : void
offset int
length int
Résultat 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;
        }