bytestring-to-vector: Convert between ByteString and Vector.Storable without copying
This library allows conversion between the types from Data.ByteString
(package bytestring
) and Data.Vector.Storable
(package vector
) without
copying the underlying data. This is useful, for example, when ByteString
IO produces or consumes vectors of numbers in native byte order.
The conversion relies on the fact that ByteString
and Vector
use their
respective ForeignPtr
s in compatible ways.
This library is a fork of the spool
package written by Keegan McAllister.
[Skip to Readme]
Downloads
- bytestring-to-vector-0.3.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.3.0.0, 0.3.0.1 |
---|---|
Dependencies | base (>=3 && <5), bytestring, vector [details] |
License | BSD-3-Clause |
Author | Keegan McAllister <mcallister.keegan@gmail.com> |
Maintainer | Sven Heyll <sven.heyll@gmail.com> |
Category | Data Structures |
Home page | https://github.com/sheyll/bytestring-to-vector |
Source repo | head: git clone git://github.com/sheyll/bytestring-to-vector.git |
Uploaded | by SvenHeyll at 2019-02-08T04:53:15Z |
Distributions | Arch:0.3.0.1, Debian:0.3.0.1, LTSHaskell:0.3.0.1, NixOS:0.3.0.1, Stackage:0.3.0.1 |
Reverse Dependencies | 7 direct, 9 indirect [details] |
Downloads | 5414 total (60 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2019-02-08 [all 1 reports] |