Gio.DataInputStream.new

function new(base_stream: Gio.InputStream): Gio.DataInputStream {
    // Gjs wrapper for g_data_input_stream_new()
}
  

Creates a new data input stream for the base_stream.

base_stream

a Gio.InputStream.

Returns

a new Gio.DataInputStream.