Package ch.bailu.gtk.glib
Schnittstelle FormatSizeFlags
public interface FormatSizeFlags
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final int
set the size as a quantity in bits, rather than
bytes, and return units in bits.static final int
behave the same as g_format_size()static final int
use IEC (base 1024) units with "KiB"-style
suffixes.static final int
include the exact number of bytes as part
of the returned string.static final int
return only unit, without value; this should
not be used together with @G_FORMAT_SIZE_LONG_FORMAT
nor @G_FORMAT_SIZE_ONLY_VALUE.static final int
return only value, without unit; this should
not be used together with @G_FORMAT_SIZE_LONG_FORMAT
nor @G_FORMAT_SIZE_ONLY_UNIT.
-
Felddetails
-
DEFAULT
static final int DEFAULTbehave the same as g_format_size()- Siehe auch:
-
LONG_FORMAT
static final int LONG_FORMATinclude the exact number of bytes as part
of the returned string. For example, "45.6 kB (45,612 bytes)".- Siehe auch:
-
IEC_UNITS
static final int IEC_UNITSuse 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.- Siehe auch:
-
BITS
static final int BITSset the size as a quantity in bits, rather than
bytes, and return units in bits. For example, ‘Mbit’ rather than ‘MB’.- Siehe auch:
-
ONLY_VALUE
static final int ONLY_VALUEreturn only value, without unit; this should
not be used together with @G_FORMAT_SIZE_LONG_FORMAT
nor @G_FORMAT_SIZE_ONLY_UNIT. Since: 2.74- Siehe auch:
-
ONLY_UNIT
static final int ONLY_UNITreturn only unit, without value; this should
not be used together with @G_FORMAT_SIZE_LONG_FORMAT
nor @G_FORMAT_SIZE_ONLY_VALUE. Since: 2.74- Siehe auch:
-