public void GlobalSetup()
        {
            _data = RandomDataGenerator.GetRandomBytes(Bytes);
            RandomDataEncode.MakeRandomData(_data, out var dataSlightModified, out var dataHeavyModified);

            // Make Source Stream
            _sourceStream = new MemoryStream(_data);

            // Make Slightly Mod Patch
            CreatePatch(dataSlightModified, ref _patchSlightModified);
            CreatePatch(dataHeavyModified, ref _patchHeavyModified);
        }
Esempio n. 2
0
 public void GlobalSetup()
 {
     _data = RandomDataGenerator.GetRandomBytes(Bytes);
     MakeRandomData(_data, out _dataSlightModified, out _dataHeavyModified);
     _sourceStream = new MemoryStream(_data);
 }