Ejemplo n.º 1
0
 /// <summary>
 /// Builds an EditScript which patches the original data to the desired data and uses this to create the Patchup patch.
 /// </summary>
 /// <param name="from">The original byte data which the patch will be applied to.</param>
 /// <param name="to">The desired byte data which will result after applying the patch to the original byte data.</param>
 public void Build(byte[] from, byte[] to)
 {
     this.EditScript = MyersDiff.SingleThreaded(from, to);
 }