Table of Contents

Class UnixInputStream

Namespace
Gio
Assembly
Gio-2.0.dll
public class UnixInputStream : InputStream, IObject, INotifyPropertyChanged, IDisposable, FileDescriptorBased, PollableInputStream, IHandle, GTypeProvider
Inheritance
UnixInputStream
Implements
Inherited Members

Constructors

UnixInputStream(bool, params ConstructArgument[])

protected UnixInputStream(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

UnixInputStream(IntPtr, bool)

protected UnixInputStream(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

CloseFdPropertyDefinition

public static readonly Property<bool, UnixInputStream> CloseFdPropertyDefinition

Field Value

Property<bool, UnixInputStream>

FdPropertyDefinition

public static readonly Property<int, UnixInputStream> FdPropertyDefinition

Field Value

Property<int, UnixInputStream>

Properties

CloseFd

public bool CloseFd { get; set; }

Property Value

bool

Fd

public int Fd { get; }

Property Value

int

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

GetCloseFd()

[Version("2.20")]
public bool GetCloseFd()

Returns

bool

GetFd()

[Version("2.20")]
public int GetFd()

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

IsReadable()

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

Returns

bool

New(int, bool)

public static UnixInputStream New(int fd, bool closeFd)

Parameters

fd int
closeFd bool

Returns

UnixInputStream

ReadNonblocking(Span<byte>, Cancellable?)

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

Parameters

buffer Span<byte>
cancellable Cancellable

Returns

long

SetCloseFd(bool)

[Version("2.20")]
public void SetCloseFd(bool closeFd)

Parameters

closeFd bool