44 template<
class t_struct>
55 template<
class t_struct>
65 template<
class t_struct>
74 template<
class t_struct>
82 template<
class t_struct>
90 template<
class t_struct>
101 template<
class t_struct>
107 template<
class t_struct>
117 template<
class t_struct>
125 template<
class t_struct>
133 template<
class t_struct>
Definition: binary_utils.h:36
bool store_t_to_binary(t_struct &str_in, byte_slice &binary_buff, size_t initial_buffer_size=8192)
Definition: portable_storage_template_helper.h:118
bool load_t_from_binary_file(t_struct &out, const std::string &binary_file)
Definition: portable_storage_template_helper.h:108
::std::string string
Definition: gtest-port.h:1097
A partial drop-in replacement for std::ostream.
Definition: byte_stream.h:57
bool load_file_to_string(const std::string &path_to_file, std::string &target_str, size_t max_size=1000000000)
Definition: file_io_utils.cpp:105
Non-owning sequence of data. Does not deep copy.
Definition: span.h:54
Definition: portable_storage.h:45
bool store_t_to_json(t_struct &str_in, std::string &json_buff, size_t indent=0, bool insert_newlines=true)
Definition: portable_storage_template_helper.h:66
bool dump_as_json(std::string &targetObj, size_t indent=0, bool insert_newlines=true)
Definition: portable_storage.cpp:70
bool load_t_from_json(t_struct &out, const std::string &json_buff)
Definition: portable_storage_template_helper.h:45
bool store_t_to_json_file(t_struct &str_in, const std::string &fpath)
Definition: portable_storage_template_helper.h:83
bool load_from_json(const std::string &source)
Definition: portable_storage.cpp:80
Definition: byte_slice.h:68
bool save_string_to_file(const std::string &path_to_file, const std::string &str)
Definition: file_io_utils.cpp:71
TODO: (mj-xmr) This will be reduced in an another PR.
Definition: byte_slice.h:39
epee::serialization::portable_storage ps
Definition: load_from_binary.cpp:40
bool load_t_from_json_file(t_struct &out, const std::string &json_file)
Definition: portable_storage_template_helper.h:56
bool load_t_from_binary(t_struct &out, const epee::span< const uint8_t > binary_buff, const epee::serialization::portable_storage::limits_t *limits=NULL)
Definition: portable_storage_template_helper.h:91
Definition: portable_storage.h:52
bool store_to_binary(byte_slice &target, std::size_t initial_buffer_size=8192)
Definition: portable_storage.cpp:46
bool load_from_binary(const epee::span< const uint8_t > target, const limits_t *limits=nullptr)
Definition: portable_storage.cpp:87
indent
Definition: transfer.py:36