seekPosition

fun seekPosition(offset: Long, type: SeekType): <Error class: unknown class><IOStatus>

Replacement for g_io_channel_seek() with the new API.

Return

the status of the operation.

Parameters

offset

The offset in bytes from the position specified by @type

type

a #GSeekType. 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.