ip-0.9.3: Library for IP and MAC addresses

Safe HaskellNone
LanguageHaskell2010

Net.IPv4.ByteString.Char8

Synopsis

Documentation

encode :: IPv4 -> ByteString Source #

This should be rewritten to not create Text as an intermediate step.

decode :: ByteString -> Maybe IPv4 Source #

This should also be rewritten