GHC.IO.Encoding.UTF16

base-4.8.2.0: Basic libraries

Copyright | (c) The University of Glasgow, 2009
License | see libraries/base/LICENSE
Maintainer | libraries@haskell.org
Stability | internal
Portability | non-portable
Safe Haskell | Trustworthy
Language | Haskell2010

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

Synopsis

- 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

# Documentation

utf16 :: TextEncoding

mkUTF16 :: CodingFailureMode -> TextEncoding

Since: 4.4.0.0

utf16_decode :: IORef (Maybe DecodeBuffer) -> DecodeBuffer

utf16_encode :: IORef Bool -> EncodeBuffer

utf16be :: TextEncoding

mkUTF16be :: CodingFailureMode -> TextEncoding

Since: 4.4.0.0

utf16be_decode :: DecodeBuffer

utf16be_encode :: EncodeBuffer

utf16le :: TextEncoding

mkUTF16le :: CodingFailureMode -> TextEncoding

Since: 4.4.0.0

utf16le_decode :: DecodeBuffer

utf16le_encode :: EncodeBuffer