| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Bytes.Text.Utf8
Documentation
fromShortText :: ShortText -> Bytes #
toShortText :: Bytes -> Maybe ShortText #
Attempt to interpret the byte sequence as UTF-8 encoded text. Returns
Nothing if the bytes are not UTF-8 encoded text.