Table of Contents

Class DataOutputStream

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

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

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

Transfer ownership: None Nullable: False

data byte

Transfer ownership: None Nullable: False

cancellable IntPtr

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

Transfer ownership: None Nullable: False

data short

Transfer ownership: None Nullable: False

cancellable IntPtr

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

Transfer ownership: None Nullable: False

data int

Transfer ownership: None Nullable: False

cancellable IntPtr

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

Transfer ownership: None Nullable: False

data long

Transfer ownership: None Nullable: False

cancellable IntPtr

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

Transfer ownership: None Nullable: False

str NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

cancellable IntPtr

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

Transfer ownership: None Nullable: False

data ushort

Transfer ownership: None Nullable: False

cancellable IntPtr

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

Transfer ownership: None Nullable: False

data uint

Transfer ownership: None Nullable: False

cancellable IntPtr

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

Transfer ownership: None Nullable: False

data ulong

Transfer ownership: None Nullable: False

cancellable IntPtr

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

Transfer ownership: None Nullable: False

order DataStreamByteOrder

Transfer ownership: None Nullable: False