Table of Contents

Class PollableOutputStream

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
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 IntPtr

Transfer 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 IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer 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 IntPtr

Transfer 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 IntPtr

Transfer ownership: None Nullable: False

buffer byte

Transfer ownership: None Nullable: False

count nuint

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer 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 IntPtr

Transfer ownership: None Nullable: False

vectors OutputVectorArrayHandle

Transfer ownership: None Nullable: False

nVectors nuint

Transfer ownership: None Nullable: False

bytesWritten nuint

Transfer ownership: Full Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

PollableReturn

Transfer ownership: None Nullable: False