ot::MeshCoP::Dataset::AppendTlvsFrom() method
Appends a given sequence of TLVs to the Dataset.
Arguments
aTlvs
A pointer to a buffer containing TLVs.
aLength
Number of bytes in @p aTlvs buffer.
Return value
kErrorNone Successfully merged TLVs from @p Dataset into this Dataset. kErrorNoBufs Could not append the TLVs due to insufficient buffer space.
Notes
Unlike `WriteTlvsFrom()`, this method does not validate the @p aTlvs to be well-formed or check that there are no duplicates. It is up to caller to validate the resulting `Dataset` (e.g., using `ValidateTlvs()`) if desired.
ot::MeshCoP::Dataset::AppendTlvsFrom() is called by 1 function:
![]()
ot::MeshCoP::Dataset::AppendTlvsFrom()
ot::MeshCoP::Dataset::AppendTlvsFrom() reads 5 variables and writes 1 variable:
![]()
ot::MeshCoP::Dataset::AppendTlvsFrom()