Copyright | (c) Erick Gonzalez 2017 |
---|---|
License | BSD3 |
Maintainer | erick@codemonkeylabs.de |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe |
Language | Haskell2010 |
This module provides Binary instances for the EAP Packet type and the embedded messages it encapsulates. So you decode a (lazy) bytestring and get an EAP Packet back or you can encode an EAP packet to ByteString you can send on the wire as is. Simple as that.