ot::Dns::TxtRecord::Init() method
Initializes the TXT Resource Record by setting its type and class. Other record fields (TTL, length) remain unchanged/uninitialized.
Arguments
aClass
The class of the resource record (default is `kClassInternet`).
![]()
txtRecord.Init();
ot::Dns::TxtRecord::Init() is called by 1 function and calls 1 function:
![]()
ot::Dns::TxtRecord::Init()
ot::Dns::TxtRecord::Init() reads 2 variables:
![]()
ot::Dns::TxtRecord::Init()