ot::MeshCoP::Dataset::WriteTlvsFrom() method
Writes TLVs parsed from a given Dataset into this Dataset. TLVs from @p aDataset are parsed and written in the current Dataset. If the same TLV already exists, it will be replaced. Otherwise, the TLV will be appended.
Return value
kErrorNone Successfully merged TLVs from @p Dataset into this Dataset. kErrorParse The @p aDataset is not valid. kErrorNoBufs Could not add the TLVs due to insufficient buffer space.