BTDB.KVDBLayer.InMemoryFileCollection.File.Writer.SimulateCorruptionBySetSize C# (CSharp) Méthode

SimulateCorruptionBySetSize() private méthode

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