package
6.6.0
Repository: https://github.com/lxc/incus.git
Documentation: pkg.go.dev

# Functions

GetByteSizeString takes a number of bytes and precision and returns a human representation of the amount of data.
GetByteSizeStringIEC takes a number of bytes and precision and returns a human representation of the amount of data using IEC units.
ParseBitSizeString parses a human representation of an amount of data into a number of bits.
ParseByteSizeString parses a human representation of an amount of data into a number of bytes.