Versions in this module Expand all Collapse all v0 v0.4.0 Apr 7, 2016 v0.4.0-rc3 Mar 15, 2016 v0.4.0-rc2 Feb 13, 2016 v0.4.0-rc1 Jan 28, 2016 v0.3.11 Jan 12, 2016 v0.3.11-rc1 Jan 2, 2016 v0.3.10 Dec 8, 2015 v0.3.9 Oct 31, 2015 v0.3.8 Oct 19, 2015 Changes in this version + const EB + const EiB + const Exa + const Exabyte + const Exbibyte + const GB + const GiB + const Gibibyte + const Giga + const Gigabyte + const KB + const KiB + const Kibibyte + const Kilo + const Kilobyte + const MB + const Mebibyte + const Mega + const Megabyte + const MiB + const PB + const Pebibyte + const Peta + const Petabyte + const PiB + const TB + const Tebibyte + const Tera + const Terabyte + const TiB + func MakeUnitMap(suffix, shortSuffix string, scale int64) map[string]float64 + func ParseStrictBytes(s string) (int64, error) + func ParseUnit(s string, unitMap map[string]float64) (int64, error) + func ToString(n int64, scale int64, suffix, baseSuffix string) string + type Base2Bytes int64 + func ParseBase2Bytes(s string) (Base2Bytes, error) + func (b Base2Bytes) String() string + type MetricBytes SI + func ParseMetricBytes(s string) (MetricBytes, error) + func (m MetricBytes) String() string + type SI int64