@hackage byte-count-reader0.10.1.11

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

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