Package0.3.16.2Data
bytebuild
Build byte arrays
- Version0.3.16.2
- CategoryData
- LicenceBSD-3-Clause
- AuthorAndrew Martin
- Maintaineramartin@layer3com.com
- Homepagegithub.com/byteverse/bytebuild
- Pinned byhackage bytebuild 0.3.16.2
- Sourcehackage.haskell.org/package/bytebuild-0.3.16.2
Modules
8 modules- Data.Bytes.Builder107
- Data.Bytes.Builder.Avro10Builders for encoding data with Apache Avro. Most functions in this
- Data.Bytes.Builder.Bounded72The functions in this module are explict about the maximum number
- Data.Bytes.Builder.Bounded.Class1
- Data.Bytes.Builder.Bounded.Unsafe4
- Data.Bytes.Builder.Class1
- Data.Bytes.Builder.Template1Quasiquotation for byte builders.
- Data.Bytes.Builder.Unsafe17
Description
This is similar to the builder facilities provided by Data.ByteString.Builder. It is intended to be used in situations where the following apply:
An individual entity will be serialized as a small number of bytes (less than 512). A large number (more than 32) of entities will be serialized one after another without anything between them.
Unlike builders from the bytestring package, these builders do not track their state when they run out of space. A builder that runs out of space simply aborts and is rerun at the beginning of the next chunk. This strategy for building is suitable for most CSVs and several line protocols (carbon, InfluxDB, etc.).
Depends on
14 packages- base-4.20.2.0with GHC
- byteslice-0.2.13.2in this set
- bytestring-0.12.2.0with GHC
- haskell-src-meta-0.8.15in this set
- integer-logarithms-1.0.4in this set
- natural-arithmetic-0.2.1.0in this set
- primitive-0.9.1.0in this set
- primitive-offset-0.2.0.1in this set
- run-st-0.1.3.3in this set
- template-haskell-2.22.0.0with GHC
- text-2.1.3with GHC
- text-short-0.1.6in this set
- wide-word-0.1.6.0in this set
- zigzag-0.1.0.0in this set