VAGSuite.frmMain.RollForwardOnFile C# (CSharp) Метод

RollForwardOnFile() приватный Метод

private RollForwardOnFile ( string file2Rollback, TransactionEntry entry ) : void
file2Rollback string
entry TransactionEntry
Результат void
        private void RollForwardOnFile(string file2Rollback, TransactionEntry entry)
        {
            FileInfo fi = new FileInfo(file2Rollback);
            int addressToWrite = entry.SymbolAddress;
            while (addressToWrite > fi.Length) addressToWrite -= (int)fi.Length;
            Tools.Instance.savedatatobinary(addressToWrite, entry.SymbolLength, entry.DataAfter, file2Rollback, false, Tools.Instance.m_currentFileType);
            VerifyChecksum(Tools.Instance.m_currentfile, false, false);
        }
frmMain