diff --git a/src/BsDiff/BinaryPatch.cs b/src/BsDiff/BinaryPatch.cs index 3326d34..b99c9a7 100644 --- a/src/BsDiff/BinaryPatch.cs +++ b/src/BsDiff/BinaryPatch.cs @@ -33,6 +33,16 @@ POSSIBILITY OF SUCH DAMAGE. */ public static class BinaryPatch { + /// + /// Creates a binary patch (in bsdiff format) that can be used + /// (by ) to transform into . + /// + /// The original binary data. + /// The new binary data. + /// A to which the patch will be written. + public static void Create(byte[] oldData, byte[] newData, Stream output) => + Create(oldData.AsSpan(), newData.AsSpan(), output); + /// /// Creates a binary patch (in bsdiff format) that can be used /// (by ) to transform into .