dahdit-0.6.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 x a Source #

Constructors

ViaBinaryRep 

Fields

Instances

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

Defined in Dahdit.BinaryRep

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

Defined in Dahdit.BinaryRep

Associated Types

type StaticSize (ViaBinaryRep x a) :: Nat Source #

type StaticSize (ViaBinaryRep x a) Source # 
Instance details

Defined in Dahdit.BinaryRep