Skip to content

EntropyEngine::Core::IO::PackageReader::Impl

EntropyEngine::Core::IO::PackageReader::Impl

Section titled “EntropyEngine::Core::IO::PackageReader::Impl”
Name
boolverifyHash(std::span< const uint8_t > data, std::string_view expectedHash)
PackageResult< PackageManifest >parseManifest(std::span< const uint8_t > jsonData)
PackageResult< std::vector< uint8_t > >decrypt(std::span< const uint8_t > ciphertext) const
PackageResult< std::vector< uint8_t > >decompress(std::span< const uint8_t > compressed, size_t expectedSize)
voidbuildAssetIndex()
Name
std::array< uint8_t, 32 >symmetricKey
std::mutexreadMutex
MappedFilemappedFile
PackageManifestmanifest
PackageHeaderheader
std::filesystem::pathfilePath
boolencrypted
std::unordered_map< std::string, size_t >assetIndex
static inline bool verifyHash(
std::span< const uint8_t > data,
std::string_view expectedHash
)
static inline PackageResult< PackageManifest > parseManifest(
std::span< const uint8_t > jsonData
)
inline PackageResult< std::vector< uint8_t > > decrypt(
std::span< const uint8_t > ciphertext
) const
static inline PackageResult< std::vector< uint8_t > > decompress(
std::span< const uint8_t > compressed,
size_t expectedSize
)
inline void buildAssetIndex()
std::array< uint8_t, 32 > symmetricKey {};
std::mutex readMutex;
MappedFile mappedFile;
PackageManifest manifest;
PackageHeader header {};
std::filesystem::path filePath;
bool encrypted = false;
std::unordered_map< std::string, size_t > assetIndex;

Updated on 2026-01-26 at 17:14:35 -0500