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