toxcore-0.2.11: A Tox protocol implementation in Haskell
Safe HaskellTrustworthy
LanguageHaskell2010

Network.Tox.Crypto.Box

Documentation

newtype PlainText Source #

Constructors

PlainText 

Instances

Instances details
Eq PlainText Source # 
Instance details

Defined in Network.Tox.Crypto.Box

Read PlainText Source # 
Instance details

Defined in Network.Tox.Crypto.Box

Show PlainText Source # 
Instance details

Defined in Network.Tox.Crypto.Box

Generic PlainText Source # 
Instance details

Defined in Network.Tox.Crypto.Box

Associated Types

type Rep PlainText :: Type -> Type #

Arbitrary PlainText Source # 
Instance details

Defined in Network.Tox.Crypto.Box

Binary PlainText Source # 
Instance details

Defined in Network.Tox.Crypto.Box

MessagePack PlainText Source # 
Instance details

Defined in Network.Tox.Crypto.Box

type Rep PlainText Source # 
Instance details

Defined in Network.Tox.Crypto.Box

type Rep PlainText = D1 ('MetaData "PlainText" "Network.Tox.Crypto.Box" "toxcore-0.2.11-inplace" 'True) (C1 ('MetaCons "PlainText" 'PrefixI 'True) (S1 ('MetaSel ('Just "unPlainText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

decode :: (MonadFail m, Binary a) => PlainText -> m a Source #