Description

ParseBytes parses a string representation of bytes into the number of bytes it represents.

See Also: Bytes, IBytes.

ParseBytes("42MB") -> 42000000, nil ParseBytes("42mib") -> 44040192, nil

ParseBytes is referenced in 20 repositories

github.com/dustin/go-humanize github.com/gyuho/psn github.com/coreos/torus

...