|
Codec.Binary.UTF8.Light | Portability | portable | Stability | provisional | Maintainer | Matt Morrow <mjm2002@gmail.com> |
|
|
|
Description |
Lightweight UTF8 handling.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Instances:
ByteString, String
, [Word32], [Word]
, [Int32], [Int]
| | Methods | | | Instances | |
|
|
|
|
|
|
|
|
|
|
|
Length in Word8s
|
|
|
Length in Word16s
|
|
|
Lengths in Word8s
|
|
|
|
|
|
|
Word32s not representing
valid UTF8 chars are dropped.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Be careful that you're sure you're not
chopping a UTF8 char in two!
|
|
|
Same warning as for hGetUTF8
|
|
|
ghci> putUTF8Ln $ flipUTF8 "[?np_bs!]"
[¡sqbu¿]
|
|
|
ghci> putUTF8Ln $ (unflipUTF8 . flipUTF8) "[?np_bs!]"
[?np_bs!]
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.3.0 |