|
ndn-embeds 0.1.0
Lightweight NDN protocol stack for embedded systems
|
#include <ndn/name.hpp>
Public Member Functions | |
| std::string_view | asString () const |
| Get the component as a string view. | |
Public Attributes | |
| const uint8_t * | value |
| Pointer to the component value. | |
| size_t | size |
| Size of the component in bytes. | |
Name component.
A structure representing an individual component of a Name. Holds a pointer to and size of the component data in the buffer.
|
inline |
| size_t ndn::NameComponent::size |
Size of the component in bytes.
Definition at line 28 of file name.hpp.
Referenced by asString(), ndn::Name::compare(), ndn::Name::isPrefixOf(), and ndn::Name::toUri().
| const uint8_t* ndn::NameComponent::value |
Pointer to the component value.
Definition at line 27 of file name.hpp.
Referenced by asString(), ndn::Name::compare(), ndn::Name::component(), ndn::Certificate::fromData(), ndn::Name::isPrefixOf(), and ndn::Name::toUri().