|
| template<Tag TAG> |
| size_t | ndn::encoding::prependNonNegativeIntegerBlock (EncodingImpl< TAG > &encoder, uint32_t type, uint64_t value) |
| | Helper to prepend TLV block type type containing non-negative integer value. More...
|
| |
| Block | ndn::encoding::makeNonNegativeIntegerBlock (uint32_t type, uint64_t value) |
| | Create a TLV block type type containing non-negative integer value. More...
|
| |
| uint64_t | ndn::encoding::readNonNegativeInteger (const Block &block) |
| | Helper to read a non-negative integer from a block. More...
|
| |
| template<Tag TAG> |
| size_t | ndn::encoding::prependEmptyBlock (EncodingImpl< TAG > &encoder, uint32_t type) |
| | Helper to prepend TLV block type type containing no value (i.e., a boolean block) More...
|
| |
| Block | ndn::encoding::makeEmptyBlock (uint32_t type) |
| | Create a TLV block type type containing no value (i.e., a boolean block) More...
|
| |
| template<Tag TAG> |
| size_t | ndn::encoding::prependStringBlock (EncodingImpl< TAG > &encoder, uint32_t type, const std::string &value) |
| | Helper to prepend TLV block type type with value from a string value. More...
|
| |
| Block | ndn::encoding::makeStringBlock (uint32_t type, const std::string &value) |
| | Create a TLV block type type with value from a string . More...
|
| |
| std::string | ndn::encoding::readString (const Block &block) |
| | Helper to read a string value from a block. More...
|
| |
| Block | ndn::encoding::makeBinaryBlock (uint32_t type, const uint8_t *value, size_t length) |
| | Create a TLV block type type with value from a buffer value of size length. More...
|
| |
| Block | ndn::encoding::makeBinaryBlock (uint32_t type, const char *value, size_t length) |
| | Create a TLV block type type with value from a buffer value of size length. More...
|
| |
| template<class Iterator > |
| Block | ndn::encoding::makeBinaryBlock (uint32_t type, Iterator first, Iterator last) |
| | Free function to create a block given type and range [first, last) of bytes. More...
|
| |
| template<Tag TAG, class U > |
| size_t | ndn::encoding::prependNestedBlock (EncodingImpl< TAG > &encoder, uint32_t type, const U &value) |
| | Prepend a TLV block of type type with WireEncodable value as a value. More...
|
| |
| template<class U > |
| Block | ndn::encoding::makeNestedBlock (uint32_t type, const U &value) |
| | Create a TLV block of type type with WireEncodable value as a value. More...
|
| |
| template<Tag TAG> |
| size_t | ndn::encoding::prependBlock (EncodingImpl< TAG > &encoder, const Block &block) |
| |
| template<Tag TAG> |
| size_t | ndn::encoding::prependByteArrayBlock (EncodingImpl< TAG > &encoder, uint32_t type, const uint8_t *array, size_t arraySize) |
| |
| Block | ndn::encoding::nonNegativeIntegerBlock (uint32_t type, uint64_t value) |
| |
| template<Tag TAG> |
| size_t | ndn::encoding::prependBooleanBlock (EncodingImpl< TAG > &encoder, uint32_t type) |
| |
| Block | ndn::encoding::booleanBlock (uint32_t type) |
| |
| Block | ndn::encoding::dataBlock (uint32_t type, const uint8_t *data, size_t dataSize) |
| |
| Block | ndn::encoding::dataBlock (uint32_t type, const char *data, size_t dataSize) |
| |
| template<class Iterator > |
| Block | ndn::encoding::dataBlock (uint32_t type, Iterator first, Iterator last) |
| |
| template<class U > |
| Block | ndn::encoding::nestedBlock (uint32_t type, const U &value) |
| |