Module: GLib::FormatSizeFlags
- Defined in:
- (unknown)
Constant Summary collapse
- DEFAULT =
behave the same as g_format_size()
0 or :default
- LONG_FORMAT =
include the exact number of bytes as part
of the returned string. For example, "45.6 kB (45,612 bytes)".
1 or :long_format
- IEC_UNITS =
use IEC (base 1024) units with “KiB”-style
suffixes. IEC units should only be used for reporting things with a strong "power of 2" basis, like RAM sizes or RAID stripe sizes. Network and storage sizes should be reported in the normal SI units.
2 or :iec_units
- BITS =
set the size as a quantity in bits, rather than
bytes, and return units in bits. For example, ‘Mb’ rather than ‘MB’.
4 or :bits