MAX


Description:

[ Version ( since = "2.4" ) ]
[ CCode ( cname = "G_MAXUINT8" ) ]
public const uint8 MAX

Example: Get the maximum value which can be held in a uint8:

public static int main (string[] args) {
// Output: ``uint8.MAX = 255``
print ("uint8.MAX = %hhu\n", uint8.MAX);
return 0;
}

valac --pkg glib-2.0 uint8.MAX.vala