EntropyEngine::Core::IO::PackageReader::Impl
EntropyEngine::Core::IO::PackageReader::Impl
Section titled “EntropyEngine::Core::IO::PackageReader::Impl”Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| bool | verifyHash(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) |
| void | buildAssetIndex() |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| std::array< uint8_t, 32 > | symmetricKey |
| std::mutex | readMutex |
| MappedFile | mappedFile |
| PackageManifest | manifest |
| PackageHeader | header |
| std::filesystem::path | filePath |
| bool | encrypted |
| std::unordered_map< std::string, size_t > | assetIndex |
Public Functions Documentation
Section titled “Public Functions Documentation”function verifyHash
Section titled “function verifyHash”static inline bool verifyHash( std::span< const uint8_t > data, std::string_view expectedHash)function parseManifest
Section titled “function parseManifest”static inline PackageResult< PackageManifest > parseManifest( std::span< const uint8_t > jsonData)function decrypt
Section titled “function decrypt”inline PackageResult< std::vector< uint8_t > > decrypt( std::span< const uint8_t > ciphertext) constfunction decompress
Section titled “function decompress”static inline PackageResult< std::vector< uint8_t > > decompress( std::span< const uint8_t > compressed, size_t expectedSize)function buildAssetIndex
Section titled “function buildAssetIndex”inline void buildAssetIndex()Public Attributes Documentation
Section titled “Public Attributes Documentation”variable symmetricKey
Section titled “variable symmetricKey”std::array< uint8_t, 32 > symmetricKey {};variable readMutex
Section titled “variable readMutex”std::mutex readMutex;variable mappedFile
Section titled “variable mappedFile”MappedFile mappedFile;variable manifest
Section titled “variable manifest”PackageManifest manifest;variable header
Section titled “variable header”PackageHeader header {};variable filePath
Section titled “variable filePath”std::filesystem::path filePath;variable encrypted
Section titled “variable encrypted”bool encrypted = false;variable assetIndex
Section titled “variable assetIndex”std::unordered_map< std::string, size_t > assetIndex;Updated on 2026-01-26 at 17:14:35 -0500