1. Module Interface

Diff( origData, newData)
Perform a binary diff between the two pieces of data and return a tuple consisting of the control tuples, diff block and extra block required to reconstitute the new data.

Patch( origData, newDataLength, controlTuples, diffBlock, extraBlock)
Return the new data given the original data, the length of the new data and the output from the Diff method.