small-bytearray-builder: Serialize to a small byte arrays

[ bsd3, data, library ] [ Propose Tags ]

This is similar to the builder facilities provided by Data.ByteString.Builder. It is intended to be used in situations where the following apply:

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
Change log CHANGELOG.md
Dependencies base (>=4.12.0.0 && <5), byteslice (==0.1.*), primitive (==0.7.*), primitive-offset (==0.2.*), run-st (==0.1.*), vector (>=0.12.0.3 && <0.13) [details]
License BSD-3-Clause
Copyright 2019 Andrew Martin
Author Andrew Martin
Maintainer andrew.thaddeus@gmail.com
Category Data
Home page https://github.com/andrewthad/small-bytearray-builder
Bug tracker https://github.com/andrewthad/small-bytearray-builder/issues
Uploaded by andrewthad at Tue Jul 30 12:58:06 UTC 2019
Distributions NixOS:0.1.1.0
Downloads 68 total (41 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-07-30 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
checked

Add bounds-checking to primitive array operations

DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees