21 #ifndef NDN_TLV_0_1_1_WIRE_FORMAT_H
22 #define NDN_TLV_0_1_1_WIRE_FORMAT_H
24 #include <ndn-cpp/c/common.h>
25 #include <ndn-cpp/c/errors.h>
53 ndn_Tlv0_1_1WireFormat_encodeInterest
54 (
const struct ndn_Interest *interest,
size_t *signedPortionBeginOffset,
56 size_t *encodingLength);
75 ndn_Tlv0_1_1WireFormat_decodeInterest
76 (
struct ndn_Interest *interest,
const uint8_t *input,
size_t inputLength,
77 size_t *signedPortionBeginOffset,
size_t *signedPortionEndOffset);
95 ndn_Tlv0_1_1WireFormat_encodeData
96 (
const struct ndn_Data *data,
size_t *signedPortionBeginOffset,
98 size_t *encodingLength);
114 ndn_Tlv0_1_1WireFormat_decodeData
115 (
struct ndn_Data *data,
const uint8_t *input,
size_t inputLength,
116 size_t *signedPortionBeginOffset,
size_t *signedPortionEndOffset);
Definition: data-types.h:86
An ndn_Interest holds an ndn_Name and other fields for an interest.
Definition: interest-types.h:70
A struct ndn_DynamicUInt8Array holds a pointer to an allocated array, the length of the allocated arr...
Definition: dynamic-uint8-array-types.h:40