ot::Heap::String::Set() method
Sets the string from a given C string.
Arguments
aCString
A pointer to c string buffer. Can be `nullptr` which then frees the `String`.
Return value
kErrorNone Successfully set the string. kErrorNoBufs Failed to allocate buffer for string.
ot::Heap::String::Set() is called by 2 functions and calls 5 functions:
![]()
ot::Heap::String::Set()
ot::Heap::String::Set() reads 3 variables and writes 1 variable:
![]()
ot::Heap::String::Set()