Gio.MemoryInputStream.prototype.add_data

function add_data(data: ByteArray, destroy: GLib.DestroyNotify): void {
    // Gjs wrapper for g_memory_input_stream_add_data()
}
  

Appends data to data that can be read from the input stream

data

input data

destroy

function that is called to free data, or null