#pragma once #include #include #include #include namespace hex::prv { class Provider; } namespace hex::magic { using namespace hex::literals; bool compile(); std::string getDescription(const std::vector &data); std::string getDescription(prv::Provider *provider, size_t size = 5_MiB); std::string getMIMEType(const std::vector &data); std::string getMIMEType(prv::Provider *provider, size_t size = 5_MiB); }