encoding-0.8.5: A library for various character encodings

Safe HaskellNone
LanguageHaskell2010

Data.Encoding.UTF32

Description

This module implements UTF-32 encoding and decoding. See http://en.wikipedia.org/wiki/UTF-32 for more information.

Documentation

data UTF32 Source #

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
Eq UTF32 Source # 
Instance details

Defined in Data.Encoding.UTF32

Methods

(==) :: UTF32 -> UTF32 -> Bool #

(/=) :: UTF32 -> UTF32 -> Bool #

Show UTF32 Source # 
Instance details

Defined in Data.Encoding.UTF32

Methods

showsPrec :: Int -> UTF32 -> ShowS #

show :: UTF32 -> String #

showList :: [UTF32] -> ShowS #

Encoding UTF32 Source # 
Instance details

Defined in Data.Encoding.UTF32