Portability | tested on GHC only |
---|---|
Stability | experimental |
Maintainer | Simon Meier <iridcode@gmail.com> |
Safe Haskell | None |
Blaze.ByteString.Builder.Char.Utf8
Contents
Writing UTF-8 encoded characters to a buffer
Creating Builders from UTF-8 encoded characters
fromString :: String -> Builder
O(n). Serialize a Unicode String
using the UTF-8 encoding.
fromShow :: Show a => a -> Builder
O(n). Serialize a value by Show
ing it and UTF-8 encoding the resulting
String
.
fromLazyText :: Text -> Builder
O(n). Serialize a lazy Unicode Text
value using the UTF-8 encoding.