ot::Ip6::Prefix::SizeForLength() method
Converts a prefix length (in bits) to size (number of bytes).
Syntax
static uint8_t SizeForLength(uint8_t aLength); Arguments
aLength
A prefix length (in bits).
Return value
The size (in bytes) of the prefix.
ot::Ip6::Prefix::SizeForLength() is called by 12 functions:
![]()
ot::Ip6::Prefix::SizeForLength()
ot::Ip6::Prefix::SizeForLength() reads 1 variable:
![]()
ot::Ip6::Prefix::SizeForLength()