HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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.