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 | Safe-Inferred |
Language | Haskell2010 |
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 #
Nothing
toBS :: a -> ByteString Source #
default toBS :: ToText a => a -> ByteString Source #
Instances
showBS :: ToByteString a => a -> String Source #
stripBS :: ByteString -> ByteString Source #