Name.h
Go to the documentation of this file.
String toString() const
const char * c_str() const
Get a constant (un-modifiable) pointer to String content.
Definition: WString.h:641
uint16_t getDataLength() const
Get number of bytes occupied by the name Not the same as the string length because content is encoded...
bool equalsIgnoreCase(const char *str, size_t length) const
Definition: Answer.h:17
Name getDomain() const
Get the last element of the name, which must be the domain.
size_t length(void) const
Obtain the String length in characters, excluding NUL terminator.
Definition: WString.h:237
uint16_t makePointer() const
Ensure a pointer refers to actual content, not another pointer.
bool fixup(const Name &other)
Fixup pointer at end of name to point to another name.