dahdit-0.3.0: Binary parsing and serialization with integrated size
Safe HaskellSafe-Inferred
LanguageHaskell2010

Dahdit.BinaryRep

Documentation

class Binary x => BinaryRep x a | a -> x where Source #

Instances

Instances details
(Binary x, Integral x, Bounded a, Enum a) => BinaryRep x (ViaBoundedEnum x a) Source # 
Instance details

Defined in Dahdit.BinaryRep

(Binary x, Integral x, Integral a) => BinaryRep x (ViaIntegral x a) Source # 
Instance details

Defined in Dahdit.BinaryRep

newtype ViaBoundedEnum x a Source #

Constructors

ViaBoundedEnum 

Fields

Instances

Instances details
(Binary x, Integral x, Bounded a, Enum a) => BinaryRep x (ViaBoundedEnum x a) Source # 
Instance details

Defined in Dahdit.BinaryRep

newtype ViaIntegral x a Source #

Constructors

ViaIntegral 

Fields

Instances

Instances details
(Binary x, Integral x, Integral a) => BinaryRep x (ViaIntegral x a) Source # 
Instance details

Defined in Dahdit.BinaryRep

newtype ViaBinaryRep a Source #

Constructors

ViaBinaryRep 

Fields

Instances

Instances details
BinaryRep x a => Binary (ViaBinaryRep a) Source # 
Instance details

Defined in Dahdit.BinaryRep

(ByteSized x, BinaryRep x a) => ByteSized (ViaBinaryRep a) Source # 
Instance details

Defined in Dahdit.BinaryRep

(StaticByteSized x, BinaryRep x a) => StaticByteSized (ViaBinaryRep a) Source # 
Instance details

Defined in Dahdit.BinaryRep