|
esp8266ndn
NDN Arduino library for ESP8266 and more
|
Namespaces | |
| namespace | detail |
Classes | |
| class | NNI |
| NonNegativeInteger encoding. More... | |
| class | NniElement |
| Encode to a TLV element where TLV-VALUE is a NonNegativeInteger. More... | |
| class | Value |
| A sequence of bytes, usually TLV-VALUE. More... | |
Typedefs | |
| using | NNI1 = detail::NNIValue< uint8_t > |
| 1-byte number encoding. | |
| using | NNI2 = detail::NNIValue< uint16_t > |
| 2-byte number encoding. | |
| using | NNI4 = detail::NNIValue< uint32_t > |
| 4-byte number encoding. | |
| using | NNI8 = detail::NNIValue< uint64_t > |
| 8-byte number encoding. | |
Functions | |
| bool | operator== (const Value &lhs, const Value &rhs) |
| constexpr size_t | sizeofVarNum (uint32_t n) |
| Compute size of VAR-NUMBER. | |
| void | writeVarNum (uint8_t *room, uint32_t n) |
| Write VAR-NUMBER. | |
| int | readVarNum (const uint8_t *input, size_t size, uint32_t &n) |
| Read VAR-NUMBER. | |
| using ndnph::tlv::NNI1 = typedef detail::NNIValue<uint8_t> |
1-byte number encoding.
| using ndnph::tlv::NNI2 = typedef detail::NNIValue<uint16_t> |
2-byte number encoding.
| using ndnph::tlv::NNI4 = typedef detail::NNIValue<uint32_t> |
4-byte number encoding.
| using ndnph::tlv::NNI8 = typedef detail::NNIValue<uint64_t> |
8-byte number encoding.
|
inline |
Read VAR-NUMBER.
|
constexpr |
Compute size of VAR-NUMBER.
|
inline |
Write VAR-NUMBER.