Constructor

GioBufferedInputStreamnew_sized

Declaration

GInputStream*
g_buffered_input_stream_new_sized (
  GInputStream* base_stream,
  gsize size
)

Description

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

Parameters

base_stream

Type: GInputStream

A GInputStream.

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

Type: gsize

A #gsize.

Return value

Type: GInputStream

A GInputStream.

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