This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Description
I'm submitting a ... (check one with "x")
[ x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
Current behavior
Passing in a bytes > 1 PB or passing a from unit of PB or EB will cause the pipe to fail.
Expected behavior
The pipe correctly transforms bytes to PB and EB
Minimal reproduction of the problem with instructions
Call BytesPipe using 8 EB.
new BytesPipe().transform(8, 2, "EB")
What is the motivation / use case for changing the behavior?
When dealing with large storage devices there are scenarios when bytes need to be translated to PB or EB.