formatSizeFull

fnstring formatSizeFull(ulong size, glib.types.FormatSizeFlags flags)

Formats a size.

This function is similar to [glib.global.formatSize] but allows for flags that modify the output. See #GFormatSizeFlags.

Parameters

sizea size in bytes
flags#GFormatSizeFlags to modify the output

Returns

a newly-allocated formatted string

containing a human readable file size