serdoc-binary-0.1.0.0: `binary` backend for `serdoc`
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.SerDoc.Binary.Codec

Documentation

data BinaryCodec Source #

Instances

Instances details
Codec BinaryCodec Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Int16 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Int32 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Int64 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Int8 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Word16 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Word32 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Word64 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Word8 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec ByteString Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec ByteString Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec ShortByteString Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Ordering Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Integer Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Natural Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec () Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Bool Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Double Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Float Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Int Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec Word Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Int16 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Int32 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Int64 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Int8 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Word16 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Word32 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Word64 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Word8 Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec ByteString Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec ByteString Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec ShortByteString Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Ordering Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Integer Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Natural Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec () Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Bool Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Double Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Float Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Int Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Serializable BinaryCodec Word Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec a => HasInfo BinaryCodec (Maybe a) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

HasInfo BinaryCodec a => HasInfo BinaryCodec [a] Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Binary a => Serializable BinaryCodec (ViaBinary a) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Binary a => Serializable BinaryCodec (Maybe a) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Binary a => Serializable BinaryCodec [a] Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

(HasInfo BinaryCodec a, HasInfo BinaryCodec b) => HasInfo BinaryCodec (Either a b) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

(HasInfo BinaryCodec a, HasInfo BinaryCodec b) => HasInfo BinaryCodec (a, b) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

(Binary a, Binary b) => Serializable BinaryCodec (Either a b) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

(Binary a, Binary b) => Serializable BinaryCodec (a, b) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

(HasInfo BinaryCodec a, HasInfo BinaryCodec b, HasInfo BinaryCodec c) => HasInfo BinaryCodec (a, b, c) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

info :: Proxy BinaryCodec -> Proxy (a, b, c) -> FieldInfo BinaryCodec #

(Binary a, Binary b, Binary c) => Serializable BinaryCodec (a, b, c) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

(HasInfo BinaryCodec a, HasInfo BinaryCodec b, HasInfo BinaryCodec c, HasInfo BinaryCodec d) => HasInfo BinaryCodec (a, b, c, d) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

info :: Proxy BinaryCodec -> Proxy (a, b, c, d) -> FieldInfo BinaryCodec #

(Binary a, Binary b, Binary c, Binary d) => Serializable BinaryCodec (a, b, c, d) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

encode :: Proxy BinaryCodec -> (a, b, c, d) -> MonadEncode BinaryCodec () #

decode :: Proxy BinaryCodec -> MonadDecode BinaryCodec (a, b, c, d) #

(HasInfo BinaryCodec a, HasInfo BinaryCodec b, HasInfo BinaryCodec c, HasInfo BinaryCodec d, HasInfo BinaryCodec e) => HasInfo BinaryCodec (a, b, c, d, e) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

info :: Proxy BinaryCodec -> Proxy (a, b, c, d, e) -> FieldInfo BinaryCodec #

(Binary a, Binary b, Binary c, Binary d, Binary e) => Serializable BinaryCodec (a, b, c, d, e) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

encode :: Proxy BinaryCodec -> (a, b, c, d, e) -> MonadEncode BinaryCodec () #

decode :: Proxy BinaryCodec -> MonadDecode BinaryCodec (a, b, c, d, e) #

(HasInfo BinaryCodec a, HasInfo BinaryCodec b, HasInfo BinaryCodec c, HasInfo BinaryCodec d, HasInfo BinaryCodec e, HasInfo BinaryCodec f) => HasInfo BinaryCodec (a, b, c, d, e, f) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

info :: Proxy BinaryCodec -> Proxy (a, b, c, d, e, f) -> FieldInfo BinaryCodec #

(Binary a, Binary b, Binary c, Binary d, Binary e, Binary f) => Serializable BinaryCodec (a, b, c, d, e, f) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

encode :: Proxy BinaryCodec -> (a, b, c, d, e, f) -> MonadEncode BinaryCodec () #

decode :: Proxy BinaryCodec -> MonadDecode BinaryCodec (a, b, c, d, e, f) #

(HasInfo BinaryCodec a, HasInfo BinaryCodec b, HasInfo BinaryCodec c, HasInfo BinaryCodec d, HasInfo BinaryCodec e, HasInfo BinaryCodec f, HasInfo BinaryCodec g) => HasInfo BinaryCodec (a, b, c, d, e, f, g) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

info :: Proxy BinaryCodec -> Proxy (a, b, c, d, e, f, g) -> FieldInfo BinaryCodec #

(Binary a, Binary b, Binary c, Binary d, Binary e, Binary f, Binary g) => Serializable BinaryCodec (a, b, c, d, e, f, g) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

encode :: Proxy BinaryCodec -> (a, b, c, d, e, f, g) -> MonadEncode BinaryCodec () #

decode :: Proxy BinaryCodec -> MonadDecode BinaryCodec (a, b, c, d, e, f, g) #

(HasInfo BinaryCodec a, HasInfo BinaryCodec b, HasInfo BinaryCodec c, HasInfo BinaryCodec d, HasInfo BinaryCodec e, HasInfo BinaryCodec f, HasInfo BinaryCodec g, HasInfo BinaryCodec h) => HasInfo BinaryCodec (a, b, c, d, e, f, g, h) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

info :: Proxy BinaryCodec -> Proxy (a, b, c, d, e, f, g, h) -> FieldInfo BinaryCodec #

(Binary a, Binary b, Binary c, Binary d, Binary e, Binary f, Binary g, Binary h) => Serializable BinaryCodec (a, b, c, d, e, f, g, h) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

encode :: Proxy BinaryCodec -> (a, b, c, d, e, f, g, h) -> MonadEncode BinaryCodec () #

decode :: Proxy BinaryCodec -> MonadDecode BinaryCodec (a, b, c, d, e, f, g, h) #

(HasInfo BinaryCodec a, HasInfo BinaryCodec b, HasInfo BinaryCodec c, HasInfo BinaryCodec d, HasInfo BinaryCodec e, HasInfo BinaryCodec f, HasInfo BinaryCodec g, HasInfo BinaryCodec h, HasInfo BinaryCodec i) => HasInfo BinaryCodec (a, b, c, d, e, f, g, h, i) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

info :: Proxy BinaryCodec -> Proxy (a, b, c, d, e, f, g, h, i) -> FieldInfo BinaryCodec #

(Binary a, Binary b, Binary c, Binary d, Binary e, Binary f, Binary g, Binary h, Binary i) => Serializable BinaryCodec (a, b, c, d, e, f, g, h, i) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

encode :: Proxy BinaryCodec -> (a, b, c, d, e, f, g, h, i) -> MonadEncode BinaryCodec () #

decode :: Proxy BinaryCodec -> MonadDecode BinaryCodec (a, b, c, d, e, f, g, h, i) #

(HasInfo BinaryCodec a, HasInfo BinaryCodec b, HasInfo BinaryCodec c, HasInfo BinaryCodec d, HasInfo BinaryCodec e, HasInfo BinaryCodec f, HasInfo BinaryCodec g, HasInfo BinaryCodec h, HasInfo BinaryCodec i, HasInfo BinaryCodec j) => HasInfo BinaryCodec (a, b, c, d, e, f, g, h, i, j) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

info :: Proxy BinaryCodec -> Proxy (a, b, c, d, e, f, g, h, i, j) -> FieldInfo BinaryCodec #

(Binary a, Binary b, Binary c, Binary d, Binary e, Binary f, Binary g, Binary h, Binary i, Binary j) => Serializable BinaryCodec (a, b, c, d, e, f, g, h, i, j) Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

Methods

encode :: Proxy BinaryCodec -> (a, b, c, d, e, f, g, h, i, j) -> MonadEncode BinaryCodec () #

decode :: Proxy BinaryCodec -> MonadDecode BinaryCodec (a, b, c, d, e, f, g, h, i, j) #

type DefEnumEncoding BinaryCodec Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

type MonadDecode BinaryCodec Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

type MonadEncode BinaryCodec Source # 
Instance details

Defined in Data.SerDoc.Binary.Codec

newtype ViaBinary a Source #

Constructors

ViaBinary 

Fields

tupleInfo :: [FieldInfo codec] -> FieldInfo codec Source #