BTDB.StreamLayer.ByteBufferWriter.FlushBuffer C# (CSharp) Method

FlushBuffer() public method

public FlushBuffer ( ) : void
return void
        public override void FlushBuffer()
        {
            var newLen = Math.Max((int)Math.Min((long)End * 2, 2147483591), 128);
            if (newLen == End) throw new OutOfMemoryException();
            Array.Resize(ref Buf, newLen);
            End = Buf.Length;
        }