GLib.bit_storage

function bit_storage(number: Number(gulong)): Number(guint) {
    // Gjs wrapper for g_bit_storage()
}
  

Gets the number of bits used to hold number, e.g. if number is 4, 3 bits are needed.

number

a #guint

Returns

the number of bits used to hold number