small-bytearray-builder: 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.).
|Versions [faq]||0.1.0.0, 0.1.1.0|
|Dependencies||base (>=126.96.36.199 && <5), byteslice (==0.1.*), primitive (==0.7.*), primitive-offset (==0.2.*), run-st (==0.1.*), vector (>=0.12.0.3 && <0.13) [details]|
|Copyright||2019 Andrew Martin|
|Uploaded||by andrewthad at Tue Jul 30 12:58:06 UTC 2019|
|Downloads||68 total (41 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
Docs available [build log]
Last success reported on 2019-07-30 [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