ot::FrameBuilder::AppendLength() method
Appends the given number of bytes to the `FrameBuilder`. This method reserves @p aLength bytes at the current position of the `FrameBuilder` and returns a pointer to the start of this reserved buffer if successful. The reserved bytes are left uninitialized. The caller is responsible for initializing them.
Syntax
void *AppendLength(uint16_t aLength); Arguments
aLength
The number of bytes to append.
Return value
A pointer to the start of the appended bytes if successful, or `nullptr` if there are not enough remaining bytes to append @p aLength bytes.