40 template<
class t_struct>
51 template<
class t_struct>
61 template<
class t_struct>
70 template<
class t_struct>
78 template<
class t_struct>
86 template<
class t_struct>
97 template<
class t_struct>
103 template<
class t_struct>
113 template<
class t_struct>
121 template<
class t_struct>
bool store_t_to_binary(t_struct &str_in, std::string &binary_buff, size_t indent=0)
bool load_t_from_binary_file(t_struct &out, const std::string &binary_file)
bool load_file_to_string(const std::string &path_to_file, std::string &target_str, size_t max_size=1000000000)
Non-owning sequence of data. Does not deep copy.
bool load_from_binary(const epee::span< const uint8_t > target)
bool store_t_to_json(t_struct &str_in, std::string &json_buff, size_t indent=0, bool insert_newlines=true)
bool dump_as_json(std::string &targetObj, size_t indent=0, bool insert_newlines=true)
bool load_t_from_json(t_struct &out, const std::string &json_buff)
bool load_t_from_binary(t_struct &out, const epee::span< const uint8_t > binary_buff)
bool store_t_to_json_file(t_struct &str_in, const std::string &fpath)
bool load_from_json(const std::string &source)
bool save_string_to_file(const std::string &path_to_file, const std::string &str)
bool store_to_binary(binarybuffer &target)
bool load_t_from_json_file(t_struct &out, const std::string &json_file)