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.

Versions [faq] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.3.0, 0.1.4.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.2.4.0 (info)
Change log CHANGELOG.md
Dependencies base (>=4.11.1 && <5), bytestring (>=0.10.8 && <0.11), primitive (==0.7.*), primitive-addr (==0.1.*), primitive-unlifted (>=0.1.2 && <0.2), run-st (>=0.1.1 && <0.2), tuples (==0.1.*), vector (==0.12.*) [details]
License BSD-3-Clause
Copyright 2020 Andrew Martin
Author Andrew Martin
Maintainer andrew.thaddeus@gmail.com
Category Data
Home page https://github.com/andrewthad/byteslice
Bug tracker https://github.com/andrewthad/byteslice/issues
Uploaded by andrewthad at 2020-10-15T15:47:43Z
Distributions NixOS:0.2.4.0
Downloads 2156 total (139 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-10-15 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
avoid-rawmemchr

Avoid using rawmemchr which is non-portable GNU libc only

EnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees