byteslice: Slicing managed and unmanaged memory

[ bsd3, data, library ] [ Propose Tags ]

This library provides types that allow the user to talk about a slice of a ByteArray or a MutableByteArray. It also offers UnmanagedBytes, which is kind of like a slice into unmanaged memory. However, it is just an address and a length.


Automatic Flags

Avoid using rawmemchr which is non-portable GNU libc only


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


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


  • No Candidates
Versions [RSS],,,,,,,,,,,,,,,, (info)
Change log
Dependencies base (>=4.14 && <5), bytestring (>=0.10.8 && <0.12), primitive (>=0.7.4 && <0.9), primitive-addr (>=0.1 && <0.2), primitive-unlifted (>=0.1.2 && <0.2), run-st (>=0.1.1 && <0.2), text (>=1.2.5), text-short (>=0.1.3 && <0.2), tuples (>=0.1 && <0.2), vector (>=0.12 && <0.14) [details]
License BSD-3-Clause
Copyright 2020 Andrew Martin
Author Andrew Martin
Revised Revision 1 made by chessai at 2023-02-21T20:30:20Z
Category Data
Home page
Bug tracker
Uploaded by andrewthad at 2022-12-08T19:07:59Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 26 direct, 79 indirect [details]
Downloads 7375 total (178 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]