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 (deprecated use support_basement)

Enabled
support_basement

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.16), basement (>=0.0.7), bytestring, deepseq (>=1.1), ghc-prim (<0.8) [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 AndreasAbel at 2021-11-18T21:36:02Z
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 2021-05-08T14:19:21Z
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, 3549 indirect [details]
Downloads 154277 total (442 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for memory-0.16.0

[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

See Haskell packages guidelines