BTDB.KVDBLayer.InMemoryFileCollection.File.Writer.SimulateCorruptionBySetSize C# (CSharp) Method

SimulateCorruptionBySetSize() private method

private SimulateCorruptionBySetSize ( int size ) : void
size int
return void
                internal void SimulateCorruptionBySetSize(int size)
                {
                    if (size > OneBufSize || _ofs!=0) throw new ArgumentOutOfRangeException();
                    Pos = size;
                }
            }