base16-bytestring

RFC 4648-compliant Base16 encodings for ByteStrings

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

Version on this page:1.0.2.0
LTS Haskell 22.37:1.0.2.0@rev:1
Stackage Nightly 2024-10-10: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.2.0@sha256:64abad7816ab8cabed8489e29f807b3a6f828e0b2cec0eae404323d69d36df9a,2541

Module documentation for 1.0.2.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.2.0

  • Support sized primitive types in GHC 9.2 (#16 - thanks Bodigrim!)

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.