|
Blaze.ByteString.Builder.Char.Utf8 | Portability | tested on GHC only | Stability | experimental | Maintainer | Simon Meier <iridcode@gmail.com> |
|
|
|
|
|
Description |
Writes and Builders for serializing Unicode characters using the UTF-8
encoding.
|
|
Synopsis |
|
|
|
|
Writing UTF-8 encoded characters to a buffer
|
|
|
Write a UTF-8 encoded Unicode character to a buffer.
|
|
Creating Builders from UTF-8 encoded characters
|
|
|
O(1). Serialize a Unicode character using the UTF-8 encoding.
|
|
|
O(n). Serialize a Unicode String using the UTF-8 encoding.
|
|
|
O(n). Serialize a value by Showing it and UTF-8 encoding the resulting
String.
|
|
|
O(n). Serialize a strict Unicode Text value using the UTF-8 encoding.
Note that this function is currently faster than encodeUtf8 provided by
Data.Text.Encoding. Moreover, fromText is also lazy, while TL.encodeUtf8
is strict.
|
|
|
O(n). Serialize a lazy Unicode Text value using the UTF-8 encoding.
Note that this function is currently faster than TL.encodeUtf8 provided by
Data.Text.Lazy.Encoding.
|
|
Produced by Haddock version 2.6.1 |