text-0.11.2.0: An efficient packed Unicode text type.

Portabilityportable
Stabilityexperimental
Maintainerbos@serpentine.com, rtomharper@googlemail.com, duncan@haskell.org
Safe HaskellSafe-Infered

Data.Text.Encoding.Fusion.Common

Contents

Description

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

Synopsis

Restreaming

restreamUtf8 :: Stream Char -> Stream Word8Source

O(n) Convert a Stream Char into a UTF-8 encoded Stream Word8.