Module encode

Module encode 

Source

Structs§

DataBuilder
Configurable Data encoder with optional signing.
InterestBuilder
Configurable Interest encoder.

Functions§

encode_data_unsigned
Encode a Data TLV signed with DigestSha256.
encode_interest
Encode a minimal Interest TLV.
encode_nack
Encode a Nack as an NDNLPv2 LpPacket wrapping the original Interest.
ensure_nonce
Ensure an Interest has a Nonce field.