ot::OffsetRange::ShrinkLength() method
Shrinks the `OffsetRange` length to a given length. If the current length of the `OffsetRange` is longer than @p aLength, the offset range is shortened to @p aLength. If the range is already shorter or the same, it remains unchanged.
Syntax
void ShrinkLength(uint16_t aLength); Arguments
aLength
The new length to use.
ot::OffsetRange::ShrinkLength() is called by 9 functions:
![]()
ot::OffsetRange::ShrinkLength()
ot::OffsetRange::ShrinkLength() reads 1 variable and writes 1 variable:
![]()
ot::OffsetRange::ShrinkLength()