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]
Versions [faq] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (==4.12.*), cpu (>=0.1.2 && <0.2), deepseq (>=1.4.4 && <1.5), endian-common, vector (>=0.12.0 && <0.13), vector-endian-big, vector-endian-little, zenhack-prelude (==0.1.*) [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 Mon Apr 22 17:53:08 UTC 2019
Distributions NixOS:0.1.0.0
Downloads 79 total (19 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user [build log]
All reported builds failed as of 2019-04-22 [all 1 reports]

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

For package maintainers and hackage trustees


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.