It is a lightweight C++ class designed for simple data saving to files and loading from files. It provides efficient methods for writing data to disk and reading data from files, making it suitable for various applications where basic file-based data storage is required.
- Error Handling: Includes error codes for common file operation failures.
- File Checksum Checking: Calculates and verifies checksums to detect file corruption.
- Instantiate the
DataLoadSave
class. - Call the
SaveData
method to save data to a specified file. - Use the
LoadData
method to load data from a file into a provided buffer.
xxhash64
library provided by Stephan Brumme. See http://create.stephan-brumme.com/disclaimer.html for more information.