1#ifndef PATCHINTERFACE_HH
2#define PATCHINTERFACE_HH
16 virtual void copyBlock(
size_t src, std::span<uint8_t> dst)
const = 0;
17 [[nodiscard]]
virtual size_t getSize()
const = 0;
18 [[nodiscard]]
virtual std::vector<Filename>
getFilenames()
const = 0;
virtual bool isEmptyPatch() const
virtual void copyBlock(size_t src, std::span< uint8_t > dst) const =0
virtual ~PatchInterface()=default
virtual size_t getSize() const =0
virtual std::vector< Filename > getFilenames() const =0
This file implemented 3 utility functions: