Name.h
Go to the documentation of this file.
const char * c_str() const
Get a constant (un-modifiable) pointer to String content.
Definition: WString.h:616
size_t length(void) const
Obtain the String length in characters, excluding NUL terminator.
Definition: WString.h:243
Encapsulates a message packet for flexible introspection.
Definition: MDNS/src/include/Network/Mdns/Message.h:29
String toString() const
bool fixup(const Name &other)
Fixup pointer at end of name to point to another name.
bool equalsIgnoreCase(const char *str, size_t length) const
uint16_t makePointer() const
Ensure a pointer refers to actual content, not another pointer.
uint16_t getDataLength() const
Get number of bytes occupied by the name Not the same as the string length because content is encoded...
Name getDomain() const
Get the last element of the name, which must be the domain.
Definition: Answer.h:18