public void TestWriteBackTheSameExactFile() => File.OpenRead(FilePath).Using(stream => Helpers.AssertStream(stream, inStream => { var outStream = new MemoryStream(); SaveKhDDD.Read(inStream).Write(outStream); return(outStream); }));
public void OpenStream(Stream stream) { save = SaveKhDDD.Read <SaveKhDDD.SaveKhDDD3DS>(stream); RefreshUi(); }