Table of Contents

Class SeekableHelper

Namespace
Gio
Assembly
Gio-2.0.dll
public sealed class SeekableHelper : Object, Seekable, NativeObject, IDisposable, InstanceFactory, GTypeProvider
Inheritance
SeekableHelper
Implements
Inherited Members

Constructors

SeekableHelper(ObjectHandle)

protected SeekableHelper(ObjectHandle handle)

Parameters

handle ObjectHandle

Methods

CanSeek()

public bool CanSeek()

Returns

bool

CanTruncate()

public bool CanTruncate()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed SeekableHelper instance for a given pointer.

public static SeekableHelper NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SeekableHelper

Seek(long, SeekType, Cancellable?)

public bool Seek(long offset, SeekType type, Cancellable? cancellable)

Parameters

offset long
type SeekType
cancellable Cancellable

Returns

bool

Tell()

public long Tell()

Returns

long

Truncate(long, Cancellable?)

public bool Truncate(long offset, Cancellable? cancellable)

Parameters

offset long
cancellable Cancellable

Returns

bool