Class IOStream
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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
stream2
IntPtrTransfer ownership: None Nullable: False
flags
IOStreamSpliceFlagsTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False