22 const std::string &buffer_name,
31 return m_archives.emplace(buffer_name, std::move(file)).first->second;
Class representing a .jar archive.
jar_filet & add_jar(const std::string &buffer_name, const void *pmem, size_t size)
Add a jar archive or retrieve from cache if already added.
jar_filet & operator()(const std::string &jar_path)
Load jar archive or retrieve from cache if already loaded.
std::map< std::string, jar_filet > m_archives
Jar files that have been loaded.