Template Function lbcrypto::Serial::Serialize(const T&, std::ostream&, const SerType::SERJSON&)

Function Documentation

template<typename T>
void lbcrypto::Serial::Serialize(const T &obj, std::ostream &stream, const SerType::SERJSON &ser)

Serialize an object

Parameters
  • obj – - object to serialize

  • stream – - Stream to serialize to

  • sertype – - type of serialization; default is BINARY