gogol-core-0.2.0: Core data types and functionality for Gogol libraries.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Data.Bytes

Description

 

Synopsis

Documentation

newtype Bytes Source #

Binary data.

This data is passed to/from the serialisation routines as-is, and any particular encoding or decoding (say, base64) is left up to the caller.

Constructors

Bytes 

Fields

Instances

Eq Bytes Source # 

Methods

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

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

Data Bytes Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Bytes -> c Bytes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Bytes #

toConstr :: Bytes -> Constr #

dataTypeOf :: Bytes -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Bytes) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Bytes) #

gmapT :: (forall b. Data b => b -> b) -> Bytes -> Bytes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Bytes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Bytes -> r #

gmapQ :: (forall d. Data d => d -> u) -> Bytes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Bytes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Bytes -> m Bytes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Bytes -> m Bytes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Bytes -> m Bytes #

Ord Bytes Source # 

Methods

compare :: Bytes -> Bytes -> Ordering #

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

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

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

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

max :: Bytes -> Bytes -> Bytes #

min :: Bytes -> Bytes -> Bytes #

Read Bytes Source # 
Show Bytes Source # 

Methods

showsPrec :: Int -> Bytes -> ShowS #

show :: Bytes -> String #

showList :: [Bytes] -> ShowS #

Generic Bytes Source # 

Associated Types

type Rep Bytes :: * -> * #

Methods

from :: Bytes -> Rep Bytes x #

to :: Rep Bytes x -> Bytes #

Hashable Bytes Source # 

Methods

hashWithSalt :: Int -> Bytes -> Int #

hash :: Bytes -> Int #

ToJSON Bytes Source # 
FromJSON Bytes Source # 
ToHttpApiData Bytes Source # 
FromHttpApiData Bytes Source # 
type Rep Bytes Source # 
type Rep Bytes = D1 (MetaData "Bytes" "Network.Google.Data.Bytes" "gogol-core-0.2.0-FcHG2RCClbd28lvEIaUzGP" True) (C1 (MetaCons "Bytes" PrefixI True) (S1 (MetaSel (Just Symbol "unBytes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ByteString)))