Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Amazonka.Data.ByteString
Contents
Description
Synopsis
- data ByteString
- type ByteStringLazy = ByteString
- class ToByteString a where
- toBS :: a -> ByteString
- showBS :: ToByteString a => a -> String
- stripBS :: ByteString -> ByteString
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
type ByteStringLazy = ByteString Source #
class ToByteString a where Source #
Minimal complete definition
Nothing
Instances
ToByteString Base64 Source # | |
Defined in Amazonka.Data.Base64 Methods toBS :: Base64 -> ByteString Source # | |
ToByteString EscapedPath Source # | |
Defined in Amazonka.Data.Path Methods toBS :: EscapedPath -> ByteString Source # | |
ToByteString TwiceEscapedPath Source # | |
Defined in Amazonka.Data.Path Methods toBS :: TwiceEscapedPath -> ByteString Source # | |
ToByteString QueryString Source # | |
Defined in Amazonka.Data.Query Methods toBS :: QueryString -> ByteString Source # | |
ToByteString AWSTime Source # | |
Defined in Amazonka.Data.Time Methods toBS :: AWSTime -> ByteString Source # | |
ToByteString BasicTime Source # | |
Defined in Amazonka.Data.Time Methods toBS :: BasicTime -> ByteString Source # | |
ToByteString ISO8601 Source # | |
Defined in Amazonka.Data.Time Methods toBS :: ISO8601 -> ByteString Source # | |
ToByteString RFC822 Source # | |
Defined in Amazonka.Data.Time Methods toBS :: RFC822 -> ByteString Source # | |
ToByteString ByteStringBuilder Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: ByteStringBuilder -> ByteString Source # | |
ToByteString ByteStringLazy Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: ByteStringLazy -> ByteString Source # | |
ToByteString CredentialScope Source # | |
Defined in Amazonka.Sign.V4.Base Methods toBS :: CredentialScope -> ByteString Source # | |
ToByteString AccessKey Source # | |
Defined in Amazonka.Types Methods toBS :: AccessKey -> ByteString Source # | |
ToByteString Region Source # | |
Defined in Amazonka.Types Methods toBS :: Region -> ByteString Source # | |
ToByteString Seconds Source # | |
Defined in Amazonka.Types Methods toBS :: Seconds -> ByteString Source # | |
ToByteString SecretKey Source # | |
Defined in Amazonka.Types Methods toBS :: SecretKey -> ByteString Source # | |
ToByteString SessionToken Source # | |
Defined in Amazonka.Types Methods toBS :: SessionToken -> ByteString Source # | |
ToByteString ByteString Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: ByteString -> ByteString Source # | |
ToByteString StdMethod Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: StdMethod -> ByteString Source # | |
ToByteString Text Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: Text -> ByteString Source # | |
ToByteString UTCTime Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: UTCTime -> ByteString Source # | |
ToByteString String Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: String -> ByteString Source # | |
ToByteString Integer Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: Integer -> ByteString Source # | |
ToByteString Natural Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: Natural -> ByteString Source # | |
ToByteString Double Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: Double -> ByteString Source # | |
ToByteString Int Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: Int -> ByteString Source # | |
ToByteString a => ToByteString (Sensitive a) Source # | |
Defined in Amazonka.Data.Sensitive Methods toBS :: Sensitive a -> ByteString Source # | |
ToByteString a => ToByteString (CI a) Source # | |
Defined in Amazonka.Data.ByteString Methods toBS :: CI a -> ByteString Source # | |
ToByteString (Tag s ByteString) Source # | |
Defined in Amazonka.Sign.V4.Base Methods toBS :: Tag s ByteString -> ByteString Source # |
showBS :: ToByteString a => a -> String Source #
stripBS :: ByteString -> ByteString Source #