Class PollableOutputStream
public class PollableOutputStream
- Inheritance
-
PollableOutputStream
- Inherited Members
Methods
CanPoll(IntPtr)
Calls native method g_pollable_output_stream_can_poll. Version: 2.28
[Version("2.28")]
public static extern bool CanPoll(IntPtr stream)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
CreateSource(IntPtr, IntPtr)
Calls native method g_pollable_output_stream_create_source. Version: 2.28
[Version("2.28")]
public static extern SourceOwnedHandle CreateSource(IntPtr stream, IntPtr cancellable)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
GetGType()
Calls native function g_pollable_output_stream_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
IsWritable(IntPtr)
Calls native method g_pollable_output_stream_is_writable. Version: 2.28
[Version("2.28")]
public static extern bool IsWritable(IntPtr stream)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
WriteNonblocking(IntPtr, ref byte, nuint, IntPtr, out ErrorOwnedHandle)
Calls native method g_pollable_output_stream_write_nonblocking.
public static extern long WriteNonblocking(IntPtr stream, ref byte buffer, nuint count, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
buffer
byteTransfer ownership: None Nullable: False
count
nuintTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- long
Transfer ownership: None Nullable: False
WritevNonblocking(IntPtr, OutputVectorArrayHandle, nuint, out nuint, IntPtr, out ErrorOwnedHandle)
Calls native method g_pollable_output_stream_writev_nonblocking. Version: 2.60
[Version("2.60")]
public static extern PollableReturn WritevNonblocking(IntPtr stream, OutputVectorArrayHandle vectors, nuint nVectors, out nuint bytesWritten, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
vectors
OutputVectorArrayHandleTransfer ownership: None Nullable: False
nVectors
nuintTransfer ownership: None Nullable: False
bytesWritten
nuintTransfer ownership: Full Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- PollableReturn
Transfer ownership: None Nullable: False