Deprecated. Do not use this function
Moduletext-2.1.4Haskell2010
Data.Text.Internal.Encoding.Fusion
Warning: this is an internal module, and does not have a stable API or name. Functions in this module may not check or enforce preconditions expected by public modules. Use at your own risk!
Fusible Stream-oriented functions for converting between Text
and several common encodings.
Contents
Synopsis
- value streamASCII
- value streamUtf8
- value streamUtf16LE
- value streamUtf16BE
- value streamUtf32LE
- value streamUtf32BE
- value unstream
- Packagetext-2.1.4
- Exports7
- LanguageHaskell2010
- LicenceBSD-2-Clause
- SourceFusion.hs
Streaming
O(n) Convert a ByteString into a 'Stream Char', using UTF-8 encoding.
O(n) Convert a ByteString into a 'Stream Char', using little endian UTF-16 encoding.
O(n) Convert a ByteString into a 'Stream Char', using big endian UTF-16 encoding.
O(n) Convert a ByteString into a 'Stream Char', using little endian UTF-32 encoding.
O(n) Convert a ByteString into a 'Stream Char', using big endian UTF-32 encoding.
Unstreaming
O(n) Convert a Stream Word8 to a ByteString.