base-4.18.1.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 Source #

mkUTF16 :: CodingFailureMode -> TextEncoding Source #

Since: base-4.4.0.0

utf16_decode :: IORef (Maybe DecodeBuffer) -> DecodeBuffer Source #

utf16_encode :: IORef Bool -> EncodeBuffer Source #

utf16be :: TextEncoding Source #

mkUTF16be :: CodingFailureMode -> TextEncoding Source #

Since: base-4.4.0.0

utf16be_decode :: DecodeBuffer Source #

utf16be_encode :: EncodeBuffer Source #

utf16le :: TextEncoding Source #

mkUTF16le :: CodingFailureMode -> TextEncoding Source #

Since: base-4.4.0.0

utf16le_decode :: DecodeBuffer Source #

utf16le_encode :: EncodeBuffer Source #