@hackage bytebuild0.3.16.3
Build byte arrays
Installation
Tested Compilers
Dependencies (15)
- base >=4.17.0.0 && <4.21
- bytestring >=0.10.8.2 && <0.13
- primitive >=0.7 && <0.10
- template-haskell >=2.16
- text >=2.0 && <2.2
- byteslice >=0.2.6 && <0.3 Show all…
Dependents (21)
@hackage/scientific-notation, @hackage/json-syntax, @hackage/protobuf-builder, @hackage/bytetrie, @hackage/ip, @hackage/array-builder, Show all…
Package Flags
checked
(off by default)
Add bounds-checking to primitive array operations
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.).