Documentation ¶
Overview ¶
Package bytes is a helper to convert bytes to a human readable string
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteCountIEC ¶
ByteCountIEC converts a size in bytes to a human-readable string in IEC (binary) format. Copied from: https://yourbasic.org/golang/formatting-byte-size-to-human-readable-format/ https://creativecommons.org/licenses/by/3.0/ IEC format: https://www.iec.ch/prefixes-binary-multiples
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.