Gio.BufferedInputStream.new

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

Creates a new Gio.InputStream from the given base_stream, with a buffer set to the default size (4 kilobytes).

base_stream

a Gio.InputStream

Returns

a Gio.InputStream for the given base_stream.