Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Encoding.UTF32
Description
This module implements UTF-32 encoding and decoding. See http://en.wikipedia.org/wiki/UTF-32 for more information.
Documentation
Constructors
UTF32 | Detects big or little endian through the use of the BOM (Byte Order Mask) character. Defaults to big endian if not present. |
UTF32BE | Encodes and decodes using the big endian encoding. |
UTF32LE | Encodes and decodes using the little endian encoding. |
Instances
Encoding UTF32 Source # | |
Defined in Data.Encoding.UTF32 Methods decodeChar :: ByteSource m => UTF32 -> m Char Source # encodeChar :: ByteSink m => UTF32 -> Char -> m () Source # decode :: ByteSource m => UTF32 -> m String Source # encode :: ByteSink m => UTF32 -> String -> m () Source # encodeable :: UTF32 -> Char -> Bool Source # | |
Show UTF32 Source # | |
Eq UTF32 Source # | |