Class SeekableHelper
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public sealed class SeekableHelper : Object, Seekable, NativeObject, IDisposable, InstanceFactory, GTypeProvider
- Inheritance
-
SeekableHelper
- Implements
- Inherited Members
Methods
CanSeek()
public bool CanSeek()
Returns
CanTruncate()
public bool CanTruncate()
Returns
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed SeekableHelper instance for a given pointer.
public static SeekableHelper NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
Seek(long, SeekType, Cancellable?)
public bool Seek(long offset, SeekType type, Cancellable? cancellable)
Parameters
offsetlongtypeSeekTypecancellableCancellable
Returns
Exceptions
- GException
Throws a GException in case of an error.
Tell()
public long Tell()
Returns
Truncate(long, Cancellable?)
public bool Truncate(long offset, Cancellable? cancellable)
Parameters
offsetlongcancellableCancellable
Returns
Exceptions
- GException
Throws a GException in case of an error.