Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haskell/bytestring
An efficient compact, immutable byte string type (both strict and lazy) suitable for binary or 8-bit character data.
https://github.com/haskell/bytestring
Last synced: about 1 month ago
JSON representation
An efficient compact, immutable byte string type (both strict and lazy) suitable for binary or 8-bit character data.
- Host: GitHub
- URL: https://github.com/haskell/bytestring
- Owner: haskell
- License: other
- Created: 2013-02-15T19:06:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-14T20:17:55.000Z (7 months ago)
- Last Synced: 2024-04-16T00:49:07.493Z (7 months ago)
- Language: Haskell
- Homepage: http://hackage.haskell.org/package/bytestring
- Size: 13.3 MB
- Stars: 282
- Watchers: 21
- Forks: 137
- Open Issues: 81
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# ByteString: Fast, Packed Strings of Bytes
[![Build Status](https://github.com/haskell/bytestring/workflows/ci/badge.svg)](https://github.com/haskell/bytestring/actions?query=workflow%3Aci) [![Hackage](http://img.shields.io/hackage/v/bytestring.svg)](https://hackage.haskell.org/package/bytestring) [![Stackage LTS](http://stackage.org/package/bytestring/badge/lts)](http://stackage.org/lts/package/bytestring) [![Stackage Nightly](http://stackage.org/package/bytestring/badge/nightly)](http://stackage.org/nightly/package/bytestring)
This library provides the `Data.ByteString` module -- strict and lazy
byte arrays manipulable as strings -- providing very time/space-efficient
string and IO operations.For very large data requirements, or constraints on heap size,
`Data.ByteString.Lazy` is provided, a lazy list of bytestring chunks.
Efficient processing of multi-gigabyte data can be achieved this way.The library also provides `Data.ByteString.Builder` for efficient construction
of `ByteString` values from smaller pieces during binary serialization.Requirements:
* Cabal 2.2 or greater
* GHC 8.4 or greater### Authors
`ByteString` was derived from the GHC `PackedString` library,
originally written by Bryan O'Sullivan, and then by Simon Marlow.
It was adapted and greatly extended for darcs by David Roundy and
others. Don Stewart and Duncan Coutts cleaned up and further extended
the implementation and added the `.Lazy` code. Simon Meier contributed
the `Builder` feature.