Gio.InetAddress.prototype.get_native_size

function get_native_size(): Number(gsize) {
    // Gjs wrapper for g_inet_address_get_native_size()
}
  

Gets the size of the native raw binary address for address. This is the size of the data that you get from Gio.InetAddress.to_bytes.

Since 2.22

Returns

the number of bytes used for the native version of address.