wabbajack/Wabbajack.Compiler/PatchCache/IBinaryPatchCache.cs

15 lines
436 B
C#
Raw Normal View History

2021-09-27 12:42:46 +00:00
using System.IO;
using System.Threading.Tasks;
using Wabbajack.Compiler.PatchCache;
using Wabbajack.Hashing.xxHash64;
namespace Wabbajack.Compiler
{
public interface IBinaryPatchCache
{
public Task<CacheEntry> CreatePatch(Stream srcStream, Hash srcHash, Stream destStream, Hash destHash);
public Task<CacheEntry?> GetPatch(Hash hashA, Hash hashB);
public Task<byte[]> GetData(CacheEntry entry);
}
}