Constructor

GioBufferedOutputStreamnew_sized

Declaration

GOutputStream*
g_buffered_output_stream_new_sized (
  GOutputStream* base_stream,
  gsize size
)

Description

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

Parameters

base_stream GOutputStream
 

A GOutputStream.

 The data is owned by the caller of the function.
size gsize
 

A #gsize.

Return value

Returns: GOutputStream
 

A GOutputStream with an internal buffer set to size.

 The caller of the function takes ownership of the data, and is responsible for freeing it.