gogol-core-0.3.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 # 
Instance details

Defined in Network.Google.Data.Bytes

Methods

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

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

Data Bytes Source # 
Instance details

Defined in Network.Google.Data.Bytes

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 # 
Instance details

Defined in Network.Google.Data.Bytes

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 # 
Instance details

Defined in Network.Google.Data.Bytes

Show Bytes Source # 
Instance details

Defined in Network.Google.Data.Bytes

Methods

showsPrec :: Int -> Bytes -> ShowS #

show :: Bytes -> String #

showList :: [Bytes] -> ShowS #

Generic Bytes Source # 
Instance details

Defined in Network.Google.Data.Bytes

Associated Types

type Rep Bytes :: * -> * #

Methods

from :: Bytes -> Rep Bytes x #

to :: Rep Bytes x -> Bytes #

FromJSON Bytes Source # 
Instance details

Defined in Network.Google.Data.Bytes

Methods

parseJSON :: Value -> Parser Bytes #

parseJSONList :: Value -> Parser [Bytes] #

ToJSON Bytes Source # 
Instance details

Defined in Network.Google.Data.Bytes

Methods

toJSON :: Bytes -> Value #

toEncoding :: Bytes -> Encoding #

toJSONList :: [Bytes] -> Value #

toEncodingList :: [Bytes] -> Encoding #

Hashable Bytes Source # 
Instance details

Defined in Network.Google.Data.Bytes

Methods

hashWithSalt :: Int -> Bytes -> Int #

hash :: Bytes -> Int

FromHttpApiData Bytes Source # 
Instance details

Defined in Network.Google.Data.Bytes

ToHttpApiData Bytes Source # 
Instance details

Defined in Network.Google.Data.Bytes

type Rep Bytes Source # 
Instance details

Defined in Network.Google.Data.Bytes

type Rep Bytes = D1 (MetaData "Bytes" "Network.Google.Data.Bytes" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" True) (C1 (MetaCons "Bytes" PrefixI True) (S1 (MetaSel (Just "unBytes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ByteString)))