Util.formatSizeFull

Formats a size.

This function is similar to g_format_size() but allows for flags that modify the output. See #GFormatSizeFlags.

struct Util
static
string
formatSizeFull
(
ulong size
,
GFormatSizeFlags flags
)

Parameters

size ulong

a size in bytes

flags GFormatSizeFlags

#GFormatSizeFlags to modify the output

Return Value

Type: string

a newly-allocated formatted string containing a human readable file size

Meta

Since

2.30