Common Pack functions.
More...
#include <common.hpp>
Common Pack functions.
See the common.h
◆ getLibraryVersion()
Returns Pack library hardcoded version. (MT-Safe)
See the getPackLibraryVersion().
- Parameters
-
[out] | major | reference to the uint32_t major version |
[out] | minor | reference to the uint32_t minor version |
[out] | patch | reference to the uint32_t patch version |
◆ readHeader()
Reads Pack header from the file. (MT-Safe)
See the readPackHeader().
- Parameters
-
[in] | filePath | target file path string |
[out] | header | reference to the PackHeader structure |
- Exceptions
-
◆ tryReadHeader()
Tries to read Pack header from the file. (MT-Safe)
See the readPackHeader().
- Parameters
-
[in] | filePath | target file path string |
[out] | header | reference to the PackHeader structure |
- Returns
- True on success and writes header data, otherwise false.