bytestring-to-vector

Version 0.3.0.1 revision 0 uploaded by SvenHeyll.

Package meta

Synopsis
Convert between ByteString and Vector.Storable without copying
Description

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.

Author
Keegan McAllister <mcallister.keegan@gmail.com>
Bug reports
n/a
Category
Data Structures
Copyright
n/a
Homepage
https://github.com/sheyll/bytestring-to-vector
Maintainer
Sven Heyll <sven.heyll@gmail.com>
Package URL
n/a
Stability
n/a

Components