Table of Contents

Class IOStream

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class IOStream
Inheritance
IOStream
Inherited Members

Methods

ClearPending(IntPtr)

Calls native method g_io_stream_clear_pending. Version: 2.22

[Version("2.22")]
public static extern void ClearPending(IntPtr stream)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

Close(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_io_stream_close. Version: 2.22

[Version("2.22")]
public static extern bool Close(IntPtr stream, IntPtr cancellable, out ErrorOwnedHandle error)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False

CloseAsync(IntPtr, int, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_io_stream_close_async. Version: 2.22

[Version("2.22")]
public static extern void CloseAsync(IntPtr stream, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

ioPriority int

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

CloseFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method g_io_stream_close_finish. Version: 2.22

[Version("2.22")]
public static extern bool CloseFinish(IntPtr stream, IntPtr result, out ErrorOwnedHandle error)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_io_stream_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetInputStream(IntPtr)

Calls native method g_io_stream_get_input_stream. Version: 2.22

[Version("2.22")]
public static extern IntPtr GetInputStream(IntPtr stream)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetOutputStream(IntPtr)

Calls native method g_io_stream_get_output_stream. Version: 2.22

[Version("2.22")]
public static extern IntPtr GetOutputStream(IntPtr stream)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

HasPending(IntPtr)

Calls native method g_io_stream_has_pending. Version: 2.22

[Version("2.22")]
public static extern bool HasPending(IntPtr stream)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsClosed(IntPtr)

Calls native method g_io_stream_is_closed. Version: 2.22

[Version("2.22")]
public static extern bool IsClosed(IntPtr stream)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetPending(IntPtr, out ErrorOwnedHandle)

Calls native method g_io_stream_set_pending. Version: 2.22

[Version("2.22")]
public static extern bool SetPending(IntPtr stream, out ErrorOwnedHandle error)

Parameters

stream IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False

SpliceAsync(IntPtr, IntPtr, IOStreamSpliceFlags, int, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method g_io_stream_splice_async. Version: 2.28

[Version("2.28")]
public static extern void SpliceAsync(IntPtr stream1, IntPtr stream2, IOStreamSpliceFlags flags, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

stream1 IntPtr

Transfer ownership: None Nullable: False

stream2 IntPtr

Transfer ownership: None Nullable: False

flags IOStreamSpliceFlags

Transfer ownership: None Nullable: False

ioPriority int

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

SpliceFinish(IntPtr, out ErrorOwnedHandle)

Calls native function g_io_stream_splice_finish. Version: 2.28

[Version("2.28")]
public static extern bool SpliceFinish(IntPtr result, out ErrorOwnedHandle error)

Parameters

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False