protected virtual int EmitCopy(int iBasePos, int iLength, Stream BaseFile, AddCopyList List) { Copy C = new Copy(); C.iBaseOffset = iBasePos; C.iLength = iLength; List.Add(C); return(iLength); }
protected virtual void EmitAdd(int iVerStart, int iLength, Stream VerFile, AddCopyList List) { Addition Add = new Addition(); VerFile.Seek(iVerStart, SeekOrigin.Begin); Add.arBytes = new byte[iLength]; VerFile.Read(Add.arBytes, 0, iLength); List.Add(Add); }