Safe Haskell | None |
---|---|
Language | Haskell2010 |
- encode :: Mac -> ByteString
- encodeWith :: MacCodec -> Mac -> ByteString
- decode :: ByteString -> Maybe Mac
- decodeWith :: MacCodec -> ByteString -> Maybe Mac
- decodeLenient :: ByteString -> Maybe Mac
- builder :: Mac -> Builder
- parser :: Parser Mac
- parserWith :: MacCodec -> Parser Mac
- parserLenient :: Parser Mac
Documentation
encode :: Mac -> ByteString Source #
encodeWith :: MacCodec -> Mac -> ByteString Source #
decodeWith :: MacCodec -> ByteString -> Maybe Mac Source #
decodeLenient :: ByteString -> Maybe Mac Source #
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
).