Table of Contents

Class PollableInputStreamHelper

Namespace
Gio
Assembly
Gio-2.0.dll
public sealed class PollableInputStreamHelper : Object, IObject, INotifyPropertyChanged, IDisposable, PollableInputStream, IHandle, GTypeProvider
Inheritance
PollableInputStreamHelper
Implements
Inherited Members

Constructors

PollableInputStreamHelper(IntPtr, bool)

public PollableInputStreamHelper(IntPtr handle, bool ownedRef)

Parameters

handle IntPtr
ownedRef bool

Methods

CanPoll()

[Version("2.28")]
public bool CanPoll()

Returns

bool

CreateSource(Cancellable?)

[Version("2.28")]
public Source CreateSource(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

Source

GetGType()

public static Type GetGType()

Returns

Type

IsReadable()

[Version("2.28")]
public bool IsReadable()

Returns

bool

ReadNonblocking(Span<byte>, Cancellable?)

public long ReadNonblocking(Span<byte> buffer, Cancellable? cancellable)

Parameters

buffer Span<byte>
cancellable Cancellable

Returns

long