Home
last modified time | relevance | path

Searched refs:decode_net (Results 1 – 1 of 1) sorted by relevance

/dports/databases/erlang-epgsql/epgsql-4.1.0/src/datatypes/
H A Depgsql_codec_net.erl48 decode_net(Bin).
64 -spec decode_net(binary()) -> ip() | ip_mask().
65 decode_net(<<?INET, Mask:8, 1, ?IP_SIZE, Bin/binary>>) -> function
67 decode_net(<<?INET6, Mask:8, 1, ?IP6_SIZE, Bin/binary>>) -> function
69 decode_net(<<?INET, ?MAX_IP_MASK, 0, ?IP_SIZE, Bin/binary>>) -> function
71 decode_net(<<?INET6, ?MAX_IP6_MASK, 0, ?IP6_SIZE, Bin/binary>>) -> function