text-2.0.2: 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 | Safe-Inferred
Language | Haskell2010

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 Source #

restreamUtf16BE :: Stream Char -> Stream Word8 Source #

restreamUtf32LE :: Stream Char -> Stream Word8 Source #

restreamUtf32BE :: Stream Char -> Stream Word8 Source #