Gio.BufferedInputStream.new_sized

function new_sized(base_stream: Gio.InputStream, size: Number(gsize)): Gio.InputStream {
    // Gjs wrapper for g_buffered_input_stream_new_sized()
}
  

Creates a new Gio.BufferedInputStream from the given base_stream, with a buffer set to size.

base_stream

a Gio.InputStream

size

a #gsize

Returns

a Gio.InputStream.