Gio.BufferedOutputStream.new_sized

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

Creates a new buffered output stream with a given buffer size.

base_stream

a Gio.OutputStream.

size

a #gsize.

Returns

a Gio.OutputStream with an internal buffer set to size.