ot::Heap::Array::PushBack() method
Appends a new entry to the end of the array. Requires the `Type` to provide a copy constructor of format `Type(const Type &aOther)` to init the new element in the array from @p aEntry.
Arguments
aEntry
The new entry to push back.
Return value
kErrorNone Successfully pushed back @p aEntry to the end of the array. kErrorNoBufs Could not allocate buffer to grow the array.