Safe Haskell | None |
---|---|
Language | Haskell2010 |
- encode :: Mac -> ByteString
- decode :: ByteString -> Maybe Mac
- builder :: Mac -> Builder
- parser :: Parser Mac
- parserWith :: MacDecoding -> Parser Mac
Documentation
encode :: Mac -> ByteString Source
This is a mediocre implementation that should be rewritten.
decode :: ByteString -> Maybe Mac Source
This is a mediocre implementation that should be rewritten.
builder :: Mac -> Builder Source
Make a bytestring builder from a Mac
address
using a colon as the separator.
Parser for a Mac
address using with a colon as the
separator (i.e. FA:43:B2:C0:0F:99
).
parserWith :: MacDecoding -> Parser Mac Source
Parser for a Mac
address using to the provided
settings.