InputProxy.section


Description:

[ CCode ( has_construct_function = false , type = "GsfInput*" ) ]
public InputProxy.section (Input source, off_t offset, off_t size)

This creates a new proxy to a section of the given source.

The new object will have its own current position, but any operation on it can change the source's position.

If a proxy to a proxy is created, the intermediate proxy is short- circuited.

This function will ref the source.

Parameters:

source

The underlying data source.

offset

Offset into source for start of section.

size

Length of section.

Returns:

a new input object.