Skip to content

An efficient compact, immutable byte string type (both strict and lazy) suitable for binary or 8-bit character data.

License

Notifications You must be signed in to change notification settings

haskell/bytestring

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9418846 · Jan 16, 2024
Jan 8, 2024
Jan 16, 2024
Feb 16, 2023
Oct 27, 2023
Jan 8, 2024
Nov 7, 2023
Apr 19, 2023
Oct 27, 2021
May 19, 2021
Oct 27, 2023
Nov 3, 2021
Feb 27, 2022
Oct 4, 2009
Jan 12, 2024

Repository files navigation

ByteString: Fast, Packed Strings of Bytes

Build Status Hackage Stackage LTS Stackage Nightly

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 1.10 or greater
  • GHC 8.0 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.

About

An efficient compact, immutable byte string type (both strict and lazy) suitable for binary or 8-bit character data.

Resources

License

Stars

Watchers

Forks