ot::FrameBuilder::InsertBytes() method
Inserts bytes in `FrameBuilder` at a given offset, moving previous content forward. The caller MUST ensure that @p aOffset is within the current frame length (from 0 up to and including `GetLength()`). Otherwise the behavior of this method is undefined.
Arguments
aOffset
The offset to insert bytes.
aBuffer
A pointer to a data buffer to insert.
aLength
Number of bytes in @p aBuffer.
Return value
kErrorNone Successfully inserted the bytes. kErrorNoBufs Insufficient available buffers to insert the bytes.
ot::FrameBuilder::InsertBytes() calls 2 functions:
![]()
ot::FrameBuilder::InsertBytes()
ot::FrameBuilder::InsertBytes() reads 4 variables and writes 1 variable:
![]()
ot::FrameBuilder::InsertBytes()