ot::Heap::Data::SetFrom() method
Sets the `Heap::Data` from the content of a given buffer.
Arguments
aBuffer
The buffer to copy bytes from.
aLength
The buffer length (number of bytes).
Return value
kErrorNone Successfully set the `Heap::Data`. kErrorNoBufs Failed to allocate buffer.
![]()
void SetFrom(Data &&aData);
ot::Heap::Data::SetFrom() is called by 1 function and calls 7 functions:
![]()
ot::Heap::Data::SetFrom()
ot::Heap::Data::SetFrom() reads 1 variable:
![]()
ot::Heap::Data::SetFrom()