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, 0.2.5.0, 0.2.5.1, 0.2.5.2 (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 2021-02-22T16:24:17Z
Distributions NixOS:0.2.5.2
Downloads 2953 total (138 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2021-02-22 [all 3 reports]

Modules

  • Data
    • Data.Bytes
      • Data.Bytes.Chunks
      • Data.Bytes.Mutable
      • Data.Bytes.Types

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