7 #ifndef PACKAGER_FILE_PUBLIC_BUFFER_CALLBACK_PARAMS_H_ 8 #define PACKAGER_FILE_PUBLIC_BUFFER_CALLBACK_PARAMS_H_ 19 std::function<int64_t(const std::string& name, void* buffer, uint64_t size)>
29 int64_t(
const std::string& name,
const void* buffer, uint64_t size)>
35 #endif // PACKAGER_FILE_PUBLIC_BUFFER_CALLBACK_PARAMS_H_ std::function< int64_t(const std::string &name, void *buffer, uint64_t size)> read_func
All the methods that are virtual are virtual for mocking.
std::function< int64_t(const std::string &name, const void *buffer, uint64_t size)> write_func