serialize


Description:

[ Version ( since = "2.2" ) ]
public static string serialize (uint64 memsize)

Creates a string representation of a given memory size.

This string can be parsed by deserialize and can thus be used in config files. It should not be displayed to the user. If you need a nice human-readable string please use g_format_size.

Parameters:

memsize

memory size in bytes

Returns:

A newly allocated string representation of memsize.