amazonka-core-1.4.5: Core data types and functionality for Amazonka 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.AWS.Data.ByteString

Contents

Description

 

Synopsis

ByteString

data ByteString :: * #

A space-efficient representation of a Word8 vector, supporting many efficient operations.

A ByteString contains 8-bit bytes, or by using the operations from Data.ByteString.Char8 it can be interpreted as containing 8-bit characters.

Instances

Eq ByteString 
Data ByteString 

Methods

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

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

toConstr :: ByteString -> Constr #

dataTypeOf :: ByteString -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ByteString 
Read ByteString 
Show ByteString 
IsString ByteString 
Semigroup ByteString 
Monoid ByteString 
Hashable ByteString 
Chunk ByteString 
FoldCase ByteString

Note that foldCase on ByteStrings is only guaranteed to be correct for ISO-8859-1 encoded strings!

ByteArray ByteString 

Methods

allocRet :: Int -> (Ptr p -> IO a) -> IO (a, ByteString) #

ByteArrayAccess ByteString 

Methods

length :: ByteString -> Int #

withByteArray :: ByteString -> (Ptr p -> IO a) -> IO a #

NFData ByteString 

Methods

rnf :: ByteString -> () #

Ixed ByteString 
ToText ByteString # 

Methods

toText :: ByteString -> Text #

FromText ByteString # 
ToByteString ByteString # 
ToHeader ByteString # 
ToPath ByteString # 
ToQuery ByteString # 
ToLog ByteString # 

Methods

build :: ByteString -> Builder #

ToXML ByteString # 

Methods

toXML :: ByteString -> XML #

FromXML ByteString # 
ToBody ByteString # 

Methods

toBody :: ByteString -> RqBody #

ToHashedBody ByteString # 
Strict ByteString ByteString 
ToLog [Header] # 

Methods

build :: [Header] -> Builder #

type State ByteString 
type State ByteString = Buffer
type ChunkElem ByteString 
type Index ByteString 
type IxValue ByteString 

class ToByteString a where #

Methods

toBS :: a -> ByteString #

toBS :: ToText a => a -> ByteString #

Instances

ToByteString Double # 

Methods

toBS :: Double -> ByteString #

ToByteString Int # 

Methods

toBS :: Int -> ByteString #

ToByteString Integer # 

Methods

toBS :: Integer -> ByteString #

ToByteString ByteString # 
ToByteString Builder # 

Methods

toBS :: Builder -> ByteString #

ToByteString String # 

Methods

toBS :: String -> ByteString #

ToByteString Text # 

Methods

toBS :: Text -> ByteString #

ToByteString UTCTime # 

Methods

toBS :: UTCTime -> ByteString #

ToByteString Natural # 

Methods

toBS :: Natural -> ByteString #

ToByteString StdMethod # 

Methods

toBS :: StdMethod -> ByteString #

ToByteString LazyByteString # 
ToByteString EscapedPath # 
ToByteString QueryString # 
ToByteString Nat # 

Methods

toBS :: Nat -> ByteString #

ToByteString Seconds # 

Methods

toBS :: Seconds -> ByteString #

ToByteString Region # 

Methods

toBS :: Region -> ByteString #

ToByteString SessionToken # 
ToByteString SecretKey # 

Methods

toBS :: SecretKey -> ByteString #

ToByteString AccessKey # 

Methods

toBS :: AccessKey -> ByteString #

ToByteString LogLevel # 

Methods

toBS :: LogLevel -> ByteString #

ToByteString Base64 # 

Methods

toBS :: Base64 -> ByteString #

ToByteString AWSTime # 

Methods

toBS :: AWSTime -> ByteString #

ToByteString BasicTime # 

Methods

toBS :: BasicTime -> ByteString #

ToByteString ISO8601 # 

Methods

toBS :: ISO8601 -> ByteString #

ToByteString RFC822 # 

Methods

toBS :: RFC822 -> ByteString #

ToByteString a => ToByteString (CI a) # 

Methods

toBS :: CI a -> ByteString #

ToByteString a => ToByteString (Sensitive a) # 

Methods

toBS :: Sensitive a -> ByteString #