inet
, cidr
Behaviours: epgsql_codec.
Codec for inet
, cidr
inet:ntoa/1
and inet:parse_address/1
to convert
between ip()
and string()
.
data() = ip() | ip_mask() | macaddr() | macaddr8()
ip() = inet:ip_address()
macaddr() = {byte(), byte(), byte(), byte(), byte(), byte()}
macaddr8() = {byte(), byte(), byte(), byte(), byte(), byte(), byte(), byte()}
mask() = 0..32
decode/3 | |
decode_text/3 | |
encode/3 | |
init/2 | |
names/0 |
decode(Bin, X2, X3) -> any()
decode_text(V, X2, X3) -> any()
encode(IpMask, X2, X3) -> any()
init(X1, X2) -> any()
names() -> any()
Generated by EDoc