Amqp.ByteBuffer.Shrink C# (CSharp) Méthode

Shrink() public méthode

Moves back the write position. As a result, length is decreased by size.
public Shrink ( int size ) : void
size int
Résultat void
        public void Shrink(int size)
        {
            Fx.Assert(size >= 0 && size <= this.Length, "size must be positive and not greater then length.");
            this.write -= size;
        }