text-1.1.1.3: An efficient packed Unicode text type.

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

Data.Text.Internal.Encoding.Fusion.Common

Contents

- Restreaming

Description

Warning: this is an internal module, and does not have a stable API or name. Use at your own risk!

Fusible `Stream`-oriented functions for converting between `Text` and several common encodings.

Synopsis

- restreamUtf16LE :: Stream Char -> Stream Word8
- restreamUtf16BE :: Stream Char -> Stream Word8
- restreamUtf32LE :: Stream Char -> Stream Word8
- restreamUtf32BE :: Stream Char -> Stream Word8

# Restreaming

restreamUtf16LE :: Stream Char -> Stream Word8

restreamUtf16BE :: Stream Char -> Stream Word8

restreamUtf32LE :: Stream Char -> Stream Word8

restreamUtf32BE :: Stream Char -> Stream Word8