hans-3.0.2: Network Stack

Safe HaskellNone
LanguageHaskell2010

Hans.IP4.Dhcp.Codec

Documentation

class CodecAtom a where Source #

Minimal complete definition

getAtom, putAtom, atomSize

Methods

getAtom :: Get a Source #

putAtom :: a -> Put Source #

atomSize :: a -> Int Source #

Instances

CodecAtom Bool Source # 
CodecAtom Word8 Source # 
CodecAtom Word16 Source # 
CodecAtom Word32 Source # 
CodecAtom Mac Source # 
CodecAtom IP4Mask Source # 
CodecAtom IP4 Source # 
CodecAtom SubnetMask Source # 
CodecAtom OverloadOption Source # 
CodecAtom NetBiosNodeType Source # 
CodecAtom OptionTagOrError Source # 
CodecAtom Dhcp4MessageType Source # 
CodecAtom MagicCookie Source # 
CodecAtom Xid Source # 
(CodecAtom a, CodecAtom b) => CodecAtom (a, b) Source # 

Methods

getAtom :: Get (a, b) Source #

putAtom :: (a, b) -> Put Source #

atomSize :: (a, b) -> Int Source #