Gio.DataOutputStream.prototype.put_int32

function put_int32(data: Number(gint32), cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for g_data_output_stream_put_int32()
}
  

Puts a signed 32-bit integer into the output stream.

data

a #gint32.

cancellable

optional Gio.Cancellable object, null to ignore.

Returns

true if data was successfully added to the stream.