Class UnixOutputStream
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class UnixOutputStream : OutputStream, IObject, INotifyPropertyChanged, IDisposable, FileDescriptorBased, PollableOutputStream, IHandle, GTypeProvider
- Inheritance
-
UnixOutputStream
- Implements
- Inherited Members
Constructors
UnixOutputStream(bool, params ConstructArgument[])
protected UnixOutputStream(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
UnixOutputStream(IntPtr, bool)
protected UnixOutputStream(IntPtr ptr, bool ownedRef)
Parameters
Fields
CloseFdPropertyDefinition
public static readonly Property<bool, UnixOutputStream> CloseFdPropertyDefinition
Field Value
FdPropertyDefinition
public static readonly Property<int, UnixOutputStream> 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
IsWritable()
[Version("2.28")]
public bool IsWritable()
Returns
New(int, bool)
public static UnixOutputStream New(int fd, bool closeFd)
Parameters
Returns
SetCloseFd(bool)
[Version("2.20")]
public void SetCloseFd(bool closeFd)
Parameters
closeFd
bool
WriteNonblocking(Span<byte>, Cancellable?)
public long WriteNonblocking(Span<byte> buffer, Cancellable? cancellable)
Parameters
buffer
Span<byte>cancellable
Cancellable
Returns
WritevNonblocking(OutputVector[], out nuint, Cancellable?)
[Version("2.60")]
public PollableReturn WritevNonblocking(OutputVector[] vectors, out nuint bytesWritten, Cancellable? cancellable)
Parameters
vectors
OutputVector[]bytesWritten
nuintcancellable
Cancellable