toxcore-0.2.12: A Tox protocol implementation in Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Tox.SaveData.Bytes

Documentation

newtype Bytes Source #

Constructors

Bytes ByteString 

Instances

Instances details
Eq Bytes Source # 
Instance details

Defined in Network.Tox.SaveData.Bytes

Methods

(==) :: Bytes -> Bytes -> Bool #

(/=) :: Bytes -> Bytes -> Bool #

Read Bytes Source # 
Instance details

Defined in Network.Tox.SaveData.Bytes

Show Bytes Source # 
Instance details

Defined in Network.Tox.SaveData.Bytes

Methods

showsPrec :: Int -> Bytes -> ShowS #

show :: Bytes -> String #

showList :: [Bytes] -> ShowS #

Generic Bytes Source # 
Instance details

Defined in Network.Tox.SaveData.Bytes

Associated Types

type Rep Bytes :: Type -> Type #

Methods

from :: Bytes -> Rep Bytes x #

to :: Rep Bytes x -> Bytes #

Arbitrary Bytes Source # 
Instance details

Defined in Network.Tox.SaveData.Bytes

Methods

arbitrary :: Gen Bytes #

shrink :: Bytes -> [Bytes] #

Binary Bytes Source # 
Instance details

Defined in Network.Tox.SaveData.Bytes

Methods

put :: Bytes -> Put #

get :: Get Bytes #

putList :: [Bytes] -> Put #

MessagePack Bytes Source # 
Instance details

Defined in Network.Tox.SaveData.Bytes

type Rep Bytes Source # 
Instance details

Defined in Network.Tox.SaveData.Bytes

type Rep Bytes = D1 ('MetaData "Bytes" "Network.Tox.SaveData.Bytes" "toxcore-0.2.12-inplace" 'True) (C1 ('MetaCons "Bytes" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))