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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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]

Properties

Versions 0.1.0.0, 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:04Z

library vector-endian

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

library vector-endian:vector-endian-big

Modules

[Index] [Quick Jump]

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

library vector-endian:vector-endian-little

Modules

[Index] [Quick Jump]

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

library vector-endian:vector-endian-indef

Signatures

Modules

[Index] [Quick Jump]

library vector-endian:big-endian

Modules

[Index] [Quick Jump]

library vector-endian:little-endian

Modules

[Index] [Quick Jump]

library vector-endian:endian-common

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

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.