seek_position


Description:

public IOStatus seek_position (int64 offset, SeekType type) throws IOChannelError

Replacement for g_io_channel_seek with the new API.

Parameters:

this

a IOChannel

offset

The offset in bytes from the position specified by type

type

a SeekType. The type g_seek_cur is only allowed in those cases where a call to g_io_channel_set_encoding () is allowed. See the documentation for g_io_channel_set_encoding () for details.

Returns:

the status of the operation.