Amqp.ByteBuffer.Shrink C# (CSharp) 메소드

Shrink() 공개 메소드

Moves back the write position. As a result, length is decreased by size.
public Shrink ( int size ) : void
size int
리턴 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;
        }