Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- data ByteString :: *
- type LazyByteString = ByteString
- class ToByteString a where
- 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.
Eq ByteString | |
Data ByteString | |
Ord ByteString | |
Read ByteString | |
Show ByteString | |
IsString ByteString | |
Semigroup ByteString | |
Monoid ByteString | |
FoldCase ByteString | Note that |
ByteArray ByteString | |
ByteArrayAccess ByteString | |
NFData ByteString | |
Hashable ByteString | |
Ixed ByteString | |
ToText ByteString Source # | |
FromText ByteString Source # | |
Chunk ByteString | |
ToByteString ByteString Source # | |
ToQuery ByteString Source # | |
ToXML ByteString Source # | |
FromXML ByteString Source # | |
ToHeader ByteString Source # | |
ToPath ByteString Source # | |
ToLog ByteString Source # | |
ToBody ByteString Source # | |
ToHashedBody ByteString Source # | |
Strict ByteString ByteString | |
ToLog [Header] Source # | |
type Index ByteString | |
type IxValue ByteString | |
type State ByteString | |
type ChunkElem ByteString | |
type LazyByteString = ByteString Source #
class ToByteString a where Source #
toBS :: a -> ByteString Source #
toBS :: ToText a => a -> ByteString Source #
showBS :: ToByteString a => a -> String Source #
stripBS :: ByteString -> ByteString Source #