Common Pack functions. More...
#include <common.hpp>
Static Public Member Functions | |
| static void | getLibraryVersion (uint8_t &major, uint8_t &minor, uint8_t &patch) noexcept |
| Returns Pack library hardcoded version. (MT-Safe). | |
| static void | readHeader (const filesystem::path &filePath, PackHeader &header) |
| Reads Pack header from the file. (MT-Safe). | |
| static bool | tryReadHeader (const filesystem::path &filePath, PackHeader &header) noexcept |
| Tries to read Pack header from the file. (MT-Safe). | |
Returns Pack library hardcoded version. (MT-Safe).
See the getPackLibraryVersion().
|
inlinestatic |
Reads Pack header from the file. (MT-Safe).
See the readPackHeader().
| [in] | filePath | target file path string |
| [out] | header | reference to the PackHeader structure |
| Error | with a PackResult string on failure. |
|
inlinestaticnoexcept |
Tries to read Pack header from the file. (MT-Safe).
See the readPackHeader().
| [in] | filePath | target file path string |
| [out] | header | reference to the PackHeader structure |