Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public void GlobalSetup()
 {
     _data = RandomDataGenerator.GetRandomBytes(Bytes);
     MakeRandomData(_data, out _dataSlightModified, out _dataHeavyModified);
     _sourceStream = new MemoryStream(_data);
 }