All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
encoding-buffer.hpp File Reference
#include "../common.hpp"
#include "buffer.hpp"
#include "tlv.hpp"
#include "block.hpp"
#include <boost/lexical_cast.hpp>
Include dependency graph for encoding-buffer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ndn::EncodingImpl< bool >
 
class  ndn::EncodingImpl< encoding::Buffer >
 Class representing wire element of the NDN packet. More...
 
class  ndn::EncodingImpl< encoding::Estimator >
 Class representing wire element of the NDN packet. More...
 

Namespaces

 ndn
 Copyright (C) 2013 Regents of the University of California.
 
 ndn::encoding
 

Typedefs

typedef EncodingImpl
< encoding::Estimator > 
ndn::EncodingEstimator
 

Functions

template<bool P>
size_t ndn::prependNonNegativeIntegerBlock (EncodingImpl< P > &encoder, uint32_t type, uint64_t number)
 helper methods More...
 
template<bool P>
size_t ndn::prependByteArrayBlock (EncodingImpl< P > &encoder, uint32_t type, const uint8_t *array, size_t arraySize)
 
template<bool P>
size_t ndn::prependBooleanBlock (EncodingImpl< P > &encoder, uint32_t type)
 
template<bool P, class U >
size_t ndn::prependNestedBlock (EncodingImpl< P > &encoder, uint32_t type, const U &nestedBlock)
 
template<bool P>
size_t ndn::prependBlock (EncodingImpl< P > &encoder, const Block &block)
 

Variables

static const bool ndn::encoding::Buffer = true
 
static const bool ndn::encoding::Estimator = false