Class DataOutputStream
public class DataOutputStream
- Inheritance
-
DataOutputStream
- Inherited Members
Methods
GetByteOrder(IntPtr)
Calls native method g_data_output_stream_get_byte_order.
public static extern DataStreamByteOrder GetByteOrder(IntPtr stream)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
Returns
- DataStreamByteOrder
Transfer ownership: None Nullable: False
GetGType()
Calls native function g_data_output_stream_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
New(IntPtr)
Calls native constructor g_data_output_stream_new.
public static extern IntPtr New(IntPtr baseStream)
Parameters
baseStream
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
PutByte(IntPtr, byte, IntPtr, out ErrorOwnedHandle)
Calls native method g_data_output_stream_put_byte.
public static extern bool PutByte(IntPtr stream, byte data, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
data
byteTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
PutInt16(IntPtr, short, IntPtr, out ErrorOwnedHandle)
Calls native method g_data_output_stream_put_int16.
public static extern bool PutInt16(IntPtr stream, short data, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
data
shortTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
PutInt32(IntPtr, int, IntPtr, out ErrorOwnedHandle)
Calls native method g_data_output_stream_put_int32.
public static extern bool PutInt32(IntPtr stream, int data, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
data
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
PutInt64(IntPtr, long, IntPtr, out ErrorOwnedHandle)
Calls native method g_data_output_stream_put_int64.
public static extern bool PutInt64(IntPtr stream, long data, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
data
longTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
PutString(IntPtr, NonNullableUtf8StringHandle, IntPtr, out ErrorOwnedHandle)
Calls native method g_data_output_stream_put_string.
public static extern bool PutString(IntPtr stream, NonNullableUtf8StringHandle str, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
PutUint16(IntPtr, ushort, IntPtr, out ErrorOwnedHandle)
Calls native method g_data_output_stream_put_uint16.
public static extern bool PutUint16(IntPtr stream, ushort data, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
data
ushortTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
PutUint32(IntPtr, uint, IntPtr, out ErrorOwnedHandle)
Calls native method g_data_output_stream_put_uint32.
public static extern bool PutUint32(IntPtr stream, uint data, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
data
uintTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
PutUint64(IntPtr, ulong, IntPtr, out ErrorOwnedHandle)
Calls native method g_data_output_stream_put_uint64.
public static extern bool PutUint64(IntPtr stream, ulong data, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
data
ulongTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SetByteOrder(IntPtr, DataStreamByteOrder)
Calls native method g_data_output_stream_set_byte_order.
public static extern void SetByteOrder(IntPtr stream, DataStreamByteOrder order)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
order
DataStreamByteOrderTransfer ownership: None Nullable: False