|
class | Tlv0_1_1WireFormatLite |
|
class | IncomingFaceIdLite |
|
class | NetworkNackLite |
|
Create an LpPacket to use the headerFieldsArray.
- Parameters
-
headerFields | The pre-allocated array of ndn_LpPacketHeaderField. This is an array of the underlying ndn_LpPacketHeaderField struct so that it doesn't run a default constructor unnecessarily. |
maxHeaderFields | The number of elements in the allocated headerFields array. |
size_t ndn::LpPacketLite::countHeaderFields |
( |
| ) |
const |
|
inline |
Get the number of header fields.
This does not include the fragment.
- Returns
- The number of header fields.
const BlobLite& ndn::LpPacketLite::getFragmentWireEncoding |
( |
| ) |
const |
|
inline |
Get the fragment wire encoding.
- Returns
- The wire encoding, or an isNull Blob if not specified.
Get the header field at the given index.
- Parameters
-
index | The index, starting from 0. It is an error if index is greater to or equal to countHeaderFields(). |
- Returns
- The header field at the index.
void ndn::LpPacketLite::setFragmentWireEncoding |
( |
const BlobLite & |
fragmentWireEncoding | ) |
|
|
inline |
Set the fragment wire encoding.
- Parameters
-
fragmentWireEncoding | The fragment wire encoding or an isNull BlobLite if not specified. |
The documentation for this class was generated from the following files: