memory: memory and related abstraction stuff

[ bsd3, memory ] [ Propose Tags ]

Chunk of memory, polymorphic byte array management and manipulation

  • A polymorphic byte array abstraction and function similar to strict ByteString.

  • Different type of byte array abstraction.

  • Raw memory IO operations (memory set, memory copy, ..)

  • Aliasing with endianness support.

  • Encoding : Base16, Base32, Base64.

  • Hashing : FNV, SipHash


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
support_bytestring

add non-orphan bytearray support for bytestring

Enabled
support_foundation

add support for foundation strings and unboxed array

Enabled
support_deepseq

add deepseq instances for memory types

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.14.6, 0.14.7, 0.14.8, 0.14.9, 0.14.10, 0.14.11, 0.14.12, 0.14.13, 0.14.14, 0.14.15, 0.14.16, 0.14.17, 0.14.18, 0.15.0, 0.16.0, 0.17.0, 0.18.0
Change log CHANGELOG.md
Dependencies base (>=4 && <4.11), bytestring, deepseq (>=1.1), foundation (>=0.0.8 && <0.0.14), ghc-prim [details]
License BSD-3-Clause
Copyright Vincent Hanquez <vincent@snarc.org>
Author Vincent Hanquez <vincent@snarc.org>
Maintainer vincent@snarc.org, Nicolas Di Prima <nicolas@primetype.co.uk>
Revised Revision 1 made by HerbertValerioRiedel at 2017-09-18T13:36:06Z
Category memory
Home page https://github.com/vincenthz/hs-memory
Bug tracker https://github.com/vincenthz/hs-memory/issues
Source repo head: git clone https://github.com/vincenthz/hs-memory
Uploaded by VincentHanquez at 2017-06-09T21:18:33Z
Distributions Arch:0.18.0, Debian:0.15.0, Fedora:0.18.0, FreeBSD:0.8, LTSHaskell:0.18.0, NixOS:0.18.0, Stackage:0.18.0, openSUSE:0.18.0
Reverse Dependencies 246 direct, 3548 indirect [details]
Downloads 154250 total (474 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-06-09 [all 1 reports]

Readme for memory-0.14.6

[back to package description]

memory

Build Status BSD Haskell

Documentation: memory on hackage

A generic memory and related abstraction for haskell:

  • A polymorphic byte array abstraction and function similar to strict ByteString.
  • Different type of byte array abstraction.
  • Raw memory IO operations (memory set, memory copy, ..)
  • Aliasing with endianness support.

Also provides some useful helpers:

Versioning

Development versions are an incremental number prefixed by 0. No specific meaning is associated with the versions, specially no API stability.

Production versions : TBD

Coding Style

The coding style of this project mostly follows: haskell-style

Support

Memory supports the following platform:

  • Windows >= 7
  • OSX >= 10.8
  • Linux

On the following architectures:

  • x86-64
  • i386

On the following haskell versions:

  • GHC 7.0.x
  • GHC 7.4.x
  • GHC 7.6.x
  • GHC 7.8.x
  • GHC 7.10.x