vector-endian: Storable vectors with cpu-independent representation.

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

This package exposes data types that implement the type classes from the vector package, but the vectors have an in-memory representation that is independent of the host's CPU.

This makes the data stored within them suitable for storage or transmission over a network, and they can be converted to bytestrings without copying.


[Skip to Readme]

Modules

[Index] [Quick Jump]

  • Data
    • Vector
      • Data.Vector.Endian
        • Data.Vector.Endian.Big
          • Data.Vector.Endian.Big.Mutable
        • Data.Vector.Endian.Little
          • Data.Vector.Endian.Little.Mutable

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.12 && <4.13), cpu (>=0.1.2 && <0.2), deepseq (>=1.4.4 && <1.5), vector (>=0.12.0 && <0.13), vector-endian, zenhack-prelude (>=0.1 && <0.2) [details]
License MIT
Copyright 2019 Ian Denhardt
Author Ian Denhardt
Maintainer ian@zenhack.net
Category Data, Data Structures
Home page https://git.zenhack.net/zenhack/haskell-vector-endian
Source repo head: git clone https://git.zenhack.net/zenhack/haskell-vector-endian -b master
Uploaded by isd at 2019-04-22T17:53:08Z
Distributions
Downloads 455 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2019-04-22 [all 1 reports]

Readme for vector-endian-0.1.0.0

[back to package description]

This is a Haskell package for working with flat arrays of fixed-size numeric values in a format that is independent of host CPU endianness (or word size). This means that you can manipulate the array in memory, and then just write it out to disk or the network when finished -- no marshalling step.

The types exposed by this package can be used with the vector package; they implement the type classes provided by that package.