A BinaryXmlDecoder extends a C ndn_BinaryXmlDecoder struct and wraps related functions. More...
#include <binary-xml-decoder.hpp>
Public Member Functions | |
| BinaryXmlDecoder (const uint8_t *input, size_t inputLength) | |
| Initialize the base ndn_BinaryXmlDecoder struct with the input. | |
| bool | peekDTag (unsigned int expectedTag) |
| Decode the header from the input starting at offset, and if it is a DTAG where the value is the expectedTag, then return true, else false. More... | |
Additional Inherited Members | |
Public Attributes inherited from ndn_BinaryXmlDecoder | |
| const uint8_t * | input |
| size_t | inputLength |
| size_t | offset |
| size_t | previouslyPeekedDTagStartOffset |
| size_t | previouslyPeekedDTagEndOffset |
| unsigned int | previouslyPeekedDTag |
A BinaryXmlDecoder extends a C ndn_BinaryXmlDecoder struct and wraps related functions.
|
inline |
Decode the header from the input starting at offset, and if it is a DTAG where the value is the expectedTag, then return true, else false.
Do not update offset, including if throwing an exception.
| expectedTag | the expected value for DTAG |
1.8.9.1