ot::Dns::Name::GetAsMessage() const method
Gets the name message and offset. MUST be used only when the type is `kTypeMessage`. Otherwise its behavior is undefined.
Arguments
aOffset
A reference to a variable to output the offset of the start of the name in the message.
Return value
A reference to the message containing the name.
ot::Dns::Name::GetAsMessage() const reads 1 variable:
![]()
ot::Dns::Name::GetAsMessage() const