bytebuild: Build 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.).
Modules
[Index] [Quick Jump]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
checked | Add bounds-checking to primitive array operations | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- bytebuild-0.3.12.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.3.4.0, 0.3.5.0, 0.3.6.0, 0.3.7.0, 0.3.8.0, 0.3.9.0, 0.3.10.0, 0.3.11.0, 0.3.12.0, 0.3.13.0, 0.3.14.0, 0.3.15.0, 0.3.16.0, 0.3.16.1, 0.3.16.2, 0.3.16.3 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.12.0.0 && <4.18), byteslice (>=0.2.6 && <0.3), bytestring (>=0.10.8.2 && <0.12), haskell-src-meta (>=0.8), integer-logarithms (>=1.0.3 && <1.1), natural-arithmetic (>=0.1 && <0.2), primitive (>=0.7 && <0.9), primitive-offset (>=0.2 && <0.3), primitive-unlifted (>=0.1.2 && <0.2), run-st (>=0.1 && <0.2), template-haskell (>=2.16), text-short (>=0.1.3 && <0.2), wide-word (>=0.1.0.9 && <0.2), zigzag [details] |
License | BSD-3-Clause |
Copyright | 2019 Andrew Martin |
Author | Andrew Martin |
Maintainer | andrew.thaddeus@gmail.com |
Revised | Revision 1 made by chessai at 2023-02-21T20:53:24Z |
Category | Data |
Home page | https://github.com/byteverse/bytebuild |
Bug tracker | https://github.com/byteverse/bytebuild/issues |
Uploaded | by andrewthad at 2022-12-01T16:29:50Z |
Distributions | LTSHaskell:0.3.16.3, NixOS:0.3.16.2, Stackage:0.3.16.3 |
Reverse Dependencies | 21 direct, 92 indirect [details] |
Downloads | 7604 total (21 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2022-12-01 [all 1 reports] |