Public Member Functions | List of all members
ndn::TlvDecoder Class Reference

A TlvDecoder extends a C ndn_TlvDecoder struct and wraps related functions. More...

#include <tlv-decoder.hpp>

Inheritance diagram for ndn::TlvDecoder:
ndn_TlvDecoder

Public Member Functions

 TlvDecoder (const uint8_t *input, size_t inputLength)
 Initialize the base ndn_TlvDecoder struct with the input.
 
size_t readNestedTlvsStart (unsigned int expectedType)
 
void finishNestedTlvs (int endOffset)
 
bool peekType (unsigned int expectedType, size_t endOffset)
 
uint64_t readNonNegativeIntegerTlv (unsigned int expectedType)
 
struct ndn_Blob readBlobTlv (unsigned int expectedType)
 
bool readBooleanTlv (unsigned int expectedType, size_t endOffset)
 

Additional Inherited Members

- Public Attributes inherited from ndn_TlvDecoder
const uint8_t * input
 
size_t inputLength
 
size_t offset
 

Detailed Description

A TlvDecoder extends a C ndn_TlvDecoder struct and wraps related functions.


The documentation for this class was generated from the following file: