Categorycode.cloudfoundry.org/bytefmt
modulepackage
0.31.0
Repository: https://github.com/cloudfoundry/bytefmt.git
Documentation: pkg.go.dev

# README

bytefmt

Go Report
Card Go
Reference

Human-readable byte formatter.

[!NOTE]

This repository should be imported as code.cloudfoundry.org/bytefmt.

Contributing

See the Contributing.md for more information on how to contribute.

Working Group Charter

This repository is maintained by App Runtime Platform under Diego area.

[!IMPORTANT]

Content in this file is managed by the CI task sync-readme and is generated by CI following a convention.

# Functions

ByteSize returns a human-readable byte string of the form 10M, 12.5K, and so forth.
ToBytes parses a string formatted by ByteSize as bytes.
ToMegabytes parses a string formatted by ByteSize as megabytes.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author