text-1.2.2.0: An efficient packed Unicode text type.

Copyright | (c) 2008, 2009 Tom Harper, (c) 2009 Bryan O'Sullivan, (c) 2009 Duncan Coutts
License | BSD-style
Maintainer | bos@serpentine.com
Stability | experimental
Portability | GHC
Safe Haskell | None
Language | Haskell98

Data.Text.Internal.Encoding.Utf16

Description

Warning: this is an internal module, and does not have a stable API or name. Functions in this module may not check or enforce preconditions expected by public modules. Use at your own risk!

Basic UTF-16 validation and character manipulation.

# Documentation

chr2 :: Word16 -> Word16 -> Char Source

validate1 :: Word16 -> Bool Source

validate2 :: Word16 -> Word16 -> Bool Source