bytebuild: Serialize to a small byte arrays
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.).
|Dependencies||base (>=126.96.36.199 && <5), byteslice (==0.2.*), bytestring (>=0.10.8.2 && <0.11), natural-arithmetic (==0.1.*), primitive (==0.7.*), primitive-offset (==0.2.*), primitive-unlifted (>=0.1.2 && <0.2), run-st (==0.1.*), text-short (>=0.1.3 && <0.2), wide-word (>=0.1.0.9 && <0.2) [details]|
|Copyright||2019 Andrew Martin|
|Uploaded||by andrewthad at Thu Feb 27 19:09:48 UTC 2020|
|Downloads||129 total (114 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs available [build log]
Last success reported on 2020-02-27 [all 1 reports]
Add bounds-checking to primitive array operations
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
For package maintainers and hackage trustees