ot::MessagePool::Allocate() method
Allocates a new message with specified settings.
Arguments
The number of header bytes to reserve.
aSettings
The message settings.
Return value
A pointer to the message or `nullptr` if no message buffers are available.