esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
io.hpp File Reference
#include "../tlv/decoder.hpp"
#include "../tlv/encoder.hpp"
#include <fstream>
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  ndnph
 
namespace  ndnph::cli
 

Functions

template<typename T , int bufferSize = 4096>
bool ndnph::cli::input (Region &region, T &target, std::istream &is=std::cin)
 Read and decode from input stream.
 
template<typename Encodable , int bufferSize = 65536>
void ndnph::cli::output (const Encodable &packet, std::ostream &os=std::cout)
 Write an Encodable to output stream.