bytestring-to-vector: Convert between ByteString and Vector.Storable without copying

[ bsd3, data-structures, library ] [ Propose Tags ]

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 ForeignPtrs in compatible ways.

This library is a fork of the spool package written by Keegan McAllister.


[Skip to Readme]
Versions [faq] 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 Fri Feb 8 04:53:15 UTC 2019
Distributions NixOS:0.3.0.1, Stackage:0.3.0.1
Downloads 417 total (85 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-02-08 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for bytestring-to-vector-0.3.0.1

[back to package description]

Build Status

Hackage

Platform dependent no-copy vector - bytestring conversion

It provides conversion between ByteString and Vector.Storable without copying the underlying data.

This is a fork of spool.