z85: Implementation of the z85 binary codec

[ bsd3, data, library ] [ Propose Tags ]

Modules

  • Data
    • Attoparsec
      • ByteString
        • Data.Attoparsec.ByteString.Z85
      • Text
        • Data.Attoparsec.Text.Z85
    • ByteString
      • Data.ByteString.Z85
        • Data.ByteString.Z85.Internal
  • Pipes
    • Pipes.Z85

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0, 0.0.1, 0.0.2
Change log ChangeLog.md
Dependencies attoparsec, attoparsec-binary, base (>=4.11 && <5), bytestring, pipes, pipes-bytestring, pipes-text, QuickCheck, text, vector-sized [details]
License BSD-3-Clause
Copyright Copyright (c) 2018 Athan Clark
Author Athan Clark
Maintainer athan.clark@localcooking.com
Revised Revision 1 made by HerbertValerioRiedel at 2018-12-31T13:53:36Z
Category Data
Home page https://github.com/athanclark/z85#readme
Bug tracker https://github.com/athanclark/z85/issues
Source repo head: git clone https://github.com/athanclark/z85
Uploaded by athanclark at 2018-12-30T17:27:09Z
Distributions
Downloads 1401 total (14 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-12-30 [all 3 reports]

Readme for z85-0.0.0

[back to package description]

z85

z85 is a binary string codec, like hexadecimal or base64, but has a higher density of compression than the former, due to its use of a higher base value of 85 than base 64. ByteStrings just need to be a length of a multiple of 4 (a Word32String might be a better name).

There are multiple layers of exposed implementation in this package

  • Word32 <-> Vector 4 Z85Char for low level work
  • Attoparsec Parser ByteString <-> Parser Text for slightly higher level parsing of strict data
  • Pipes Pipe ByteString Text <-> Pipe Text ByteString for encoding / decoding streams of strict data
  • Casual Lazy.ByteString ~ Lazy.Text functions for encoding / decoding lazy data.