Safe Haskell | None |
---|
- encode :: String -> IO ByteString
- decode :: ByteString -> IO String
Documentation
encode :: String -> IO ByteStringSource
Encode a Unicode String
into a ByteString
suitable for the current
console.
decode :: ByteString -> IO StringSource
Convert a ByteString
from the console's encoding into a Unicode String
.