NetAddr.mask_to_length

You're seeing just the function mask_to_length, go back to NetAddr module for more information.
Link to this function

mask_to_length(address_mask)

View Source

Specs

mask_to_length(binary()) :: non_neg_integer()

Converts address_mask to an address length.

Examples

iex> NetAddr.mask_to_length(<<255,255,248,0>>)
21