HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Moduleblaze-builder-0.4.4.1Haskell98

Blaze.ByteString.Builder.Char8

/Note:/ This package is intended for low-level use like implementing protocols. If you need to /serialize/ Unicode characters use one of the UTF encodings (e.g. 'Blaze.ByteString.Builder.Char.UTF-8').

Writes and Builders for serializing the lower 8-bits of characters.

This corresponds to what the bytestring package offer in Data.ByteString.Char8.

  • 6 values

Writing Latin-1 (ISO 8859-1) encodable characters to a buffer

1 declaration

Creating Builders from Latin-1 (ISO 8859-1) encodable characters

5 declarations
valuefromShow :: Show a => a -> Builder
#

O(n). Serialize a value by Showing it and serializing the lower 8-bits of the resulting string.

valuefromText :: Text -> Builder
#

O(n). Serialize the lower 8-bits of all characters in the strict text.