Package0.4.4.1Data
blaze-builder
Efficient buffered output.
- Version0.4.4.1
- CategoryData
- LicenceBSD-3-Clause
- AuthorJasper Van der Jeugt, Simon Meier, Leon P Smith
- Maintainerhttps://github.com/blaze-builder
- Homepagegithub.com/blaze-builder/blaze-builder
- Pinned byhackage blaze-builder 0.4.4.1
- Sourcehackage.haskell.org/package/blaze-builder-0.4.4.1
Modules
11 modules- Blaze.ByteString.Builder15Blaze.ByteString.Builder is the main module, which you should import as a user
- Blaze.ByteString.Builder.ByteString9Writes and Builders for strict and lazy bytestrings. We assume the following qualified imports in order to differentiate between
- Blaze.ByteString.Builder.Char.Utf86Writes and Builders for serializing Unicode characters using the UTF-8
- Blaze.ByteString.Builder.Char86/Note:/ This package is intended for low-level use like implementing
- Blaze.ByteString.Builder.Compat.Write3Conversions from the new Prims to the old Writes.
- Blaze.ByteString.Builder.HTTP2Support for HTTP response encoding.
- Blaze.ByteString.Builder.Html.Utf86Writes and Builders for serializing HTML escaped and UTF-8 encoded
- Blaze.ByteString.Builder.Html.Word6Writes and Builders for serializing HTML escaped Word8 characters
- Blaze.ByteString.Builder.Int33Writes and Builders for serializing integers. See Blaze.ByteString.Builder.Word for information about how to best write several
- Blaze.ByteString.Builder.Word33Writes and Builders for serializing words. Note that for serializing a three tuple (x,y,z) of bytes (or other word
Internal modules · 1
- Blaze.ByteString.Builder.Internal.Write20A general and efficient write type that allows for the easy construction of
Description
This library allows to efficiently serialize Haskell values to lazy bytestrings with a large average chunk size. The large average chunk size allows to make good use of cache prefetching in later processing steps (e.g. compression) and reduces the system call overhead when writing the resulting lazy bytestring to a file or sending it over the network.
This library was inspired by the module Data.Binary.Builder provided by the binary package. It was originally developed with the specific needs of the blaze-html package in mind. Since then it has been restructured to serve as a drop-in replacement for Data.Binary.Builder, which it improves upon both in speed as well as expressivity.
Depends on
3 packages- base-4.20.2.0with GHC
- bytestring-0.12.2.0with GHC
- text-2.1.3with GHC
Used by in this set · 26
- authenticate-oauth-1.7
- blaze-html-0.9.2.0
- blaze-markup-0.8.3.0
- blaze-textual-0.2.3.1
- hosc-0.20
- http-client-0.7.19
- http-common-0.8.3.4
- http-streams-0.8.9.9
- lucid-2.11.20230408
- lucid-svg-0.7.1.1
- mime-mail-0.5.1
- persistent-postgresql-2.13.6.2
- req-3.13.3
- scotty-0.22
- servant-auth-server-0.4.9.0
- snap-server-1.1.2.1
- sqlite-simple-0.4.19.0
- svg-builder-0.1.1
- trifecta-2.1.4
- uri-bytestring-0.4.0.0
- vty-6.5
- vty-unix-0.2.0.0
- xmlgen-0.6.2.2
- yesod-form-1.7.9
- yesod-persistent-1.6.0.8
- yesod-test-1.6.19