Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetByteSizeString ¶
GetByteSizeString takes a number of bytes and precision and returns a human representation of the amount of data.
func GetByteSizeStringIEC ¶
GetByteSizeStringIEC takes a number of bytes and precision and returns a human representation of the amount of data using IEC units.
func ParseBitSizeString ¶
ParseBitSizeString parses a human representation of an amount of data into a number of bits.
func ParseByteSizeString ¶
ParseByteSizeString parses a human representation of an amount of data into a number of bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.