Esempio n. 1
0
 public static bool TryGetPatch(Hash foundHash, Hash fileHash, [MaybeNullWhen(false)] out byte[] ePatch) =>
 PatchCache.TryGetPatch(foundHash, fileHash, out ePatch);
Esempio n. 2
0
 public static Task CreatePatchCached(byte[] a, byte[] b, Stream output) =>
 PatchCache.CreatePatchCached(a, b, output);
Esempio n. 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);
Esempio n. 4
0
 public static void ApplyPatch(Stream input, Func <Stream> openPatchStream, Stream output) =>
 PatchCache.ApplyPatch(input, openPatchStream, output);