Documentation
¶
Overview ¶
Package bytes2string provides functions for converting int64 byte counts to a shortened SI, or IEC, string format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteCountIEC ¶
ByteCountIEC returns a formatted string using the appropriate International Electrotechnical Commission prefix for any positive byte count or an empty string otherwise.
func ByteCountSI ¶
ByteCountSI returns a formatted string using the appropriate International System of Units prefix for any positive byte count or an empty string otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.