@hackage / byte-count-reader

Read strings describing a number of bytes like 2Kb and 0.5 MiB

Latest0.10.1.12

About

Metadata

  • Last updated , by danielrolls
  • License GPL-3.0-only
  • Categories Text Processing
  • Maintained by: daniel.rolls.27@googlemail.com

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 8.10.7

Readme

Byte Count Reader


Build Status Hackage Stackage

This library is for reading strings describing a number of bytes like 2Kb and 0.5 MiB.

The following are examples of strings that are accepted:

  • 1b
  • 2 KiB
  • 3.5 MB
  • 10    gib
  • 100tb