GHC.IO.Encoding.UTF16

base-4.6.0.1: Basic libraries

Portability | non-portable
Stability | internal
Maintainer | libraries@haskell.org
Safe Haskell | Trustworthy

GHC.IO.Encoding.UTF16

Description

UTF-16 Codecs for the IO library

Portions Copyright : (c) Tom Harper 2008-2009, (c) Bryan O'Sullivan 2009, (c) Duncan Coutts 2009

# Documentation

utf16 :: TextEncoding

mkUTF16 :: CodingFailureMode -> TextEncoding

utf16_decode :: IORef (Maybe DecodeBuffer) -> DecodeBuffer

utf16_encode :: IORef Bool -> EncodeBuffer

utf16be :: TextEncoding

mkUTF16be :: CodingFailureMode -> TextEncoding

utf16be_decode :: DecodeBuffer

utf16be_encode :: EncodeBuffer

utf16le :: TextEncoding

mkUTF16le :: CodingFailureMode -> TextEncoding

utf16le_decode :: DecodeBuffer

utf16le_encode :: EncodeBuffer