Copyright | (C) Qinka 2017 |
---|---|
License | GPL3 |
Maintainer | me@qinka.pro |
Stability | experimental |
Portability | unknown |
Safe Haskell | Safe |
Language | Haskell2010 |
The reexport of the bytestring
- module Data.ByteString
- pack :: String -> ByteString
- unpack :: ByteString -> [Char]
- read :: Read a => ByteString -> a
- show :: Show a => a -> ByteString
the reexported module
module Data.ByteString
the methods
pack :: String -> ByteString #
O(n) Convert a String
into a ByteString
For applications with large numbers of string literals, pack can be a bottleneck.
unpack :: ByteString -> [Char] #
O(n) Converts a ByteString
to a String
.