Defined in File mem_filesystem_resolver.hpp
mem_filesystem_resolver: public legion::core::filesystem::filesystem_resolver, public legion::core::filesystem::memory_resolver_common_base¶
Requires the raw data to be passed for internal building.
Makes sure that the internal fast memory representation has been built when false is returned it was unable to build it.
Sets the raw data of the provider.
inline virtual filesystem_resolver *
make() final override¶
Required to create new instances of the provider, similar to a surrogate constructor if required arguments must be copied over.
const byte_vec &
Returns the fast memory representation of the provider. Created by build_memory_representation.
Should build a fast memory representation of the virtual filesystem. For instance, when inflating a zip archive this should put the inflated memory into out.
[in] in: The array with compressed data.
[out] out: The array where to put uncompressed data.
Should build the representation on how the data is saved to disk, when the filesystem is readonly this does not apply.
[in] in: The array with decompressed data.
[out] out: The array where to put compressed data.
virtual std::size_t size_hint (std::shared_ptr< const byte_vec > in) const LEGION_IMPURE_RETURN(0)
A hint to how big the fast memory representation is going to be.
[in] in: The array with the compressed data.