#include "concepts.hpp"
#include "../encoding/block.hpp"
#include <iostream>
#include <fstream>
Go to the source code of this file.
|
template<typename T > |
static void | ndn::io::detail::checkInnerError (typename T::Error *) |
|
template<typename T > |
static void | ndn::io::detail::checkInnerError (...) |
|
optional< Block > | ndn::io::loadBlock (std::istream &is, IoEncoding encoding=BASE64) |
| loads a TLV block from a stream More...
|
|
template<typename T > |
shared_ptr< T > | ndn::io::load (std::istream &is, IoEncoding encoding=BASE64) |
| loads a TLV element from a stream More...
|
|
template<typename T > |
shared_ptr< T > | ndn::io::load (const std::string &filename, IoEncoding encoding=BASE64) |
| loads a TLV element from a file More...
|
|
void | ndn::io::saveBlock (const Block &block, std::ostream &os, IoEncoding encoding=BASE64) |
| saves a TLV block to a stream More...
|
|
template<typename T > |
void | ndn::io::save (const T &obj, std::ostream &os, IoEncoding encoding=BASE64) |
| saves a TLV element to a stream More...
|
|
template<typename T > |
void | ndn::io::save (const T &obj, const std::string &filename, IoEncoding encoding=BASE64) |
| saves a TLV element to a file More...
|
|