ot::OffsetRange::AdvanceOffset() method
Advances the start offset forward by the given number of bytes. This method ensures the start offset does not go beyond the end offset of the `OffsetRange`. If @p aLength is greater than the available bytes in the `OffsetRange`, the start offset is adjusted to the end offset, effectively shrinking the range to zero length.
Syntax
void AdvanceOffset(uint32_t aLength); Arguments
aLength
The number of bytes to advance the start offset.
ot::OffsetRange::AdvanceOffset() is called by 17 functions:
![]()
ot::OffsetRange::AdvanceOffset()
ot::OffsetRange::AdvanceOffset() reads 2 variables and writes 2 variables:
![]()
ot::OffsetRange::AdvanceOffset()