NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
block.cpp File Reference
#include "ndn-cxx/encoding/block.hpp"
#include "ndn-cxx/encoding/buffer-stream.hpp"
#include "ndn-cxx/encoding/encoding-buffer.hpp"
#include "ndn-cxx/encoding/tlv.hpp"
#include "ndn-cxx/security/transform.hpp"
#include "ndn-cxx/util/string-helper.hpp"
#include <boost/asio/buffer.hpp>
#include <boost/range/adaptor/reversed.hpp>
#include <cstring>
Include dependency graph for block.cpp:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 

Functions

bool ndn::operator== (const Block &lhs, const Block &rhs)
 Compare whether two Blocks have same TLV-TYPE, TLV-LENGTH, and TLV-VALUE. More...
 
std::ostream & ndn::operator<< (std::ostream &os, const Block &block)
 
Block ndn::operator""_block (const char *input, std::size_t len)
 Construct a Block from hexadecimal input. More...
 

Variables

const size_t ndn::MAX_SIZE_OF_BLOCK_FROM_STREAM = MAX_NDN_PACKET_SIZE