base16-bytestring

RFC 4648-compliant Base16 encodings for ByteStrings

http://github.com/haskell/base16-bytestring

Version on this page:1.0.1.0
LTS Haskell 22.13:1.0.2.0@rev:1
Stackage Nightly 2024-03-14:1.0.2.0@rev:1
Latest on Hackage:1.0.2.0@rev:1

See all snapshots base16-bytestring appears in

BSD-3-Clause licensed by Bryan O'Sullivan
This version can be pinned in stack with:base16-bytestring-1.0.1.0@sha256:33b9d57afa334d06485033e930c6b13fc760baf88fd8f715ae2f9a4b46e19a54,2641

Module documentation for 1.0.1.0

Fast base16 support Hackage version Stackage version Build Status

Please refer to the package description on Hackage for more information.

This package provides a Haskell library for working with base16-encoded data quickly and efficiently, using the ByteString type.

Get involved!

Please report bugs via the GitHub issue tracker.

Master Git repository:

  • git clone git://github.com/haskell/base16-bytestring.git

Authors

This library is written by Bryan O’Sullivan.

It is currently maintained by Emily Pillmore, Herbert Valerio Riedel and Mikhail Glushenkov.

Changes

1.0.1.0

  • Backwards-compatible support for bytestring ^>= 0.11 (#15)

1.0.0.0

  • Merged omnibus PR doing a variety of things in (#10):
    • Improves performance by 3-4x for encode, 4-5x for decode.
    • The decode signature returning the tuple and actually returns an error message with offset. The signature will now be ByteString -> Either String ByteString.
    • Actually tests using the test vectors defined in the RFC, and uses property tests to ensure invariants hold.
    • Adds lenient decoders to the API
    • Adds -XTrustworthy annotations to the relevant exposed modules
    • Rewrites the haddocks to be more up to date and fancy-styled.
    • Adds benchmarks to the .cabal file so they can be run at toplevel, and make them better.
    • Bumps the Cabal version to 1.12

Because of the breadth of this change, we are calling this a new epoch for the base16-bytestring library. Hence, the version 1.0.0.0.

0.1.1.7

  • Fix some bugs in lazy decoding (#8).

0.1.1.6

  • Changelog not recorded up to this version.