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 - return only unit,
without value; this should not be used together with
G_FORMAT_SIZE_LONG_FORMAT
nor G_FORMAT_SIZE_ONLY_VALUE
.
- ONLY_VALUE - return only value,
without unit; this should not be used together with
G_FORMAT_SIZE_LONG_FORMAT
nor G_FORMAT_SIZE_ONLY_UNIT
.