FormatSizeFlags
Description:
[ Version ( since = "2.30" ) ]
[ CCode ( cprefix = "G_FORMAT_SIZE_" , has_type_id = false ) ]
[ Flags ]
public enum FormatSizeFlags
Flags to modify the format of the string returned by format_size.
Content:
Enum values:
- BITS - set the size as a quantity in
bits, rather than bytes, and return units in bits.
- DEFAULT - behave the same as
g_format_size
- IEC_UNITS - use IEC (base 1024)
units with "KiB"-style suffixes.
- LONG_FORMAT - include the exact
number of bytes as part of the returned string.
- ONLY_UNIT - Returns only the unit,
without a value.
- ONLY_VALUE - Returns only the
value, without a unit.