Class UnixInputStream
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class UnixInputStream : InputStream, FileDescriptorBased, PollableInputStream, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
UnixInputStream
- Implements
- Inherited Members
Constructors
UnixInputStream(params ConstructArgument[])
public UnixInputStream(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
UnixInputStream(UnixInputStreamHandle)
public UnixInputStream(UnixInputStreamHandle handle)
Parameters
handle
UnixInputStreamHandle
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 nint 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