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
boolconstructArguments
ConstructArgument[]
UnixInputStream(IntPtr, bool)
protected UnixInputStream(IntPtr ptr, bool ownedRef)
Parameters
Fields
CloseFdPropertyDefinition
public static readonly Property<bool, UnixInputStream> CloseFdPropertyDefinition
Field Value
FdPropertyDefinition
public static readonly Property<int, UnixInputStream> FdPropertyDefinition
Field Value
Properties
CloseFd
public bool CloseFd { get; set; }
Property Value
Fd
public int Fd { get; }
Property Value
Methods
CanPoll()
[Version("2.28")]
public bool CanPoll()
Returns
CreateSource(Cancellable?)
[Version("2.28")]
public Source CreateSource(Cancellable? cancellable)
Parameters
cancellable
Cancellable
Returns
GetCloseFd()
[Version("2.20")]
public bool GetCloseFd()
Returns
GetFd()
[Version("2.20")]
public int GetFd()
Returns
GetGType()
public static Type GetGType()
Returns
IsReadable()
[Version("2.28")]
public bool IsReadable()
Returns
New(int, bool)
public static UnixInputStream New(int fd, bool closeFd)
Parameters
Returns
ReadNonblocking(Span<byte>, Cancellable?)
public long ReadNonblocking(Span<byte> buffer, Cancellable? cancellable)
Parameters
buffer
Span<byte>cancellable
Cancellable
Returns
SetCloseFd(bool)
[Version("2.20")]
public void SetCloseFd(bool closeFd)
Parameters
closeFd
bool