NetAddr.ntoa

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

ntoa(decimal, size_in_bytes)

View Source

Specs

Converts decimal to an address.

Examples

iex> NetAddr.ntoa 3221225985, 4
<<192, 0, 2, 1>>

iex> NetAddr.ntoa 338288524986991696549538495105230488577, 16
<<254, 128, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 1>>

iex> NetAddr.ntoa 4328719365, 5
<<1, 2, 3, 4, 5>>