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