Exemple #1
0
 public static bool TryGetPatch(Hash foundHash, Hash fileHash, [MaybeNullWhen(false)] out byte[] ePatch) =>
 PatchCache.TryGetPatch(foundHash, fileHash, out ePatch);
Exemple #2
0
 public static Task CreatePatchCached(byte[] a, byte[] b, Stream output) =>
 PatchCache.CreatePatchCached(a, b, output);
Exemple #3
0
 public static Task <long> CreatePatchCached(Stream srcStream, Hash srcHash, Stream destStream, Hash destHash, Stream?patchOutStream = null) =>
 PatchCache.CreatePatchCached(srcStream, srcHash, destStream, destHash, patchOutStream);
Exemple #4
0
 public static void ApplyPatch(Stream input, Func <Stream> openPatchStream, Stream output) =>
 PatchCache.ApplyPatch(input, openPatchStream, output);