Wire Sysio Wire Sysion 1.0.0
|
Functions | |
cfile | open_cfile_for_read (const fc::path &dir, const std::string &filename) |
uint32_t | read_persistence_header (cfile &dat_content, const uint32_t magic_number, const uint32_t min_supported_version, const uint32_t max_supported_version) |
cfile | open_cfile_for_write (const fc::path &dir, const std::string &filename) |
void | write_persistence_header (cfile &dat_content, const uint32_t magic_number, const uint32_t current_version) |
This namespace provides functions related to reading and writing a persistence file with a header delineating the type of file and version.
cfile fc::persistence_util::open_cfile_for_read | ( | const fc::path & | dir, |
const std::string & | filename ) |
Definition at line 14 of file persistence_util.hpp.
cfile fc::persistence_util::open_cfile_for_write | ( | const fc::path & | dir, |
const std::string & | filename ) |
Definition at line 58 of file persistence_util.hpp.
uint32_t fc::persistence_util::read_persistence_header | ( | cfile & | dat_content, |
const uint32_t | magic_number, | ||
const uint32_t | min_supported_version, | ||
const uint32_t | max_supported_version ) |
Definition at line 28 of file persistence_util.hpp.
void fc::persistence_util::write_persistence_header | ( | cfile & | dat_content, |
const uint32_t | magic_number, | ||
const uint32_t | current_version ) |
Definition at line 69 of file persistence_util.hpp.