bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
Loading...
Searching...
No Matches
Serialize.h File Reference
#include <array>
#include <cstring>
#include <iosfwd>
#include <string>
#include <tuple>
#include <type_traits>
Include dependency graph for Serialize.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bux
 THE common namespace of bux library.
 

Functions

template<class T >
void bux::append (const T &src, std::string &dst)
 
template<class T >
void bux::append_size_of (const T &src, std::string &dst)
 
template<class T >
void bux::append (const T *src, size_t argN, std::string &dst)
 
template<class T >
void bux::read (const std::string &src, size_t &off, T &data) noexcept
 
size_t bux::read_size (const std::string &src, size_t &off) noexcept
 
template<class T >
void bux::read (const std::string &src, size_t &off, T *data, size_t count)
 
template<size_t N>
auto bux::to_str (const std::array< char, N > &arr)
 
template<size_t N>
std::array< char, N > bux::read_charr (const std::string &src, size_t &off) noexcept
 
template<size_t N, template< typename > class C>
void bux::append (const C< std::array< char, N > > &src, std::string &dst)
 
template<size_t N, template< typename > class C>
void bux::read (const std::string &src, size_t &off, C< std::array< char, N > > &data)
 
std::tuple< std::string, size_t, boolbux::load_hashed_str (std::istream &in)
 
size_t bux::save_hashed_str (std::ostream &out, const std::string &s)