Versions in this module Expand all Collapse all v0 v0.1.8 Dec 13, 2024 v0.1.7 Nov 12, 2024 v0.1.6 Nov 12, 2024 v0.1.5 Nov 11, 2024 v0.1.4 Nov 1, 2024 v0.1.3 Oct 15, 2024 v0.1.2 Oct 12, 2024 v0.1.1 Oct 6, 2024 v0.1.0 Sep 28, 2024 v0.0.11 Sep 12, 2024 v0.0.10 Sep 11, 2024 v0.0.9 Sep 9, 2024 v0.0.8 Sep 9, 2024 Changes in this version + const EB + const EiB + const GB + const GiB + const KB + const KiB + const MB + const MiB + const PB + const PiB + const TB + const TiB + func Format(value int64) string + func FormatBinary(value int64) string + func FormatDecimal(value int64) string + func Parse(value string) (int64, error) + type Bytes struct + func New() *Bytes + func (*Bytes) FormatBinary(value int64) string + func (*Bytes) FormatDecimal(value int64) string + func (*Bytes) ParseBinary(value string) (i int64, err error) + func (*Bytes) ParseDecimal(value string) (i int64, err error) + func (b *Bytes) Format(value int64) string + func (b *Bytes) Parse(value string) (int64, error)