| Copyright | (c) 2016 Dylan Simon |
|---|---|
| License | BSD3 |
| Maintainer | https://github.com/blaze-builder |
| Stability | stable |
| Safe Haskell | None |
| Language | Haskell98 |
Blaze.ByteString.Builder.Html.Word
Description
Writes and Builders for serializing HTML escaped Word8 characters
and ByteStrings that have already been appropriately encoded into HTML by
escaping basic ASCII character references but leaving other bytes untouched.
Synopsis
Documentation
Writing HTML escaped bytes to a buffer
writeHtmlEscapedWord :: Word8 -> Write #
Write a HTML escaped byte to a bufffer.
Creating Builders from HTML escaped bytes
fromHtmlEscapedWord :: Word8 -> Builder #
O(1). Serialize a HTML escaped byte.
fromHtmlEscapedWordList :: [Word8] -> Builder #
O(n). Serialize a HTML escaped list of bytes.
fromHtmlEscapedByteString :: ByteString -> Builder #
O(n). Serialize a HTML escaped ByteString.
fromHtmlEscapedLazyByteString :: ByteString -> Builder #
O(n). Serialize a HTML escaped lazy ByteString.