Constructor

GioBufferedInputStreamnew_sized

Declaration [src]

GInputStream*
g_buffered_input_stream_new_sized (
  GInputStream* base_stream,
  gsize size
)

Description [src]

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

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