| Copyright | © 2018-2024 Albert Krewinkel | 
|---|---|
| License | MIT | 
| Maintainer | Albert Krewinkel <tarleb@hslua.org> | 
| Stability | beta | 
| Portability | portable | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
HsLua.Core.Utf8
Description
Encoding and decoding of String to and from UTF8.
Synopsis
- toString :: ByteString -> String
- toText :: ByteString -> Text
- fromString :: String -> ByteString
- fromText :: Text -> ByteString
Documentation
toString :: ByteString -> String #
Decode ByteStringString
toText :: ByteString -> Text #
Decode ByteStringText
fromString :: String -> ByteString #
Encode StringByteString
fromText :: Text -> ByteString #
Encode TextByteString