Class MemoryOutputStream
public class MemoryOutputStream
- Inheritance
-
MemoryOutputStream
- Inherited Members
Methods
GetData(IntPtr)
Calls native method g_memory_output_stream_get_data.
public static extern IntPtr GetData(IntPtr ostream)
Parameters
ostream
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetDataSize(IntPtr)
Calls native method g_memory_output_stream_get_data_size. Version: 2.18
[Version("2.18")]
public static extern nuint GetDataSize(IntPtr ostream)
Parameters
ostream
IntPtrTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
GetGType()
Calls native function g_memory_output_stream_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetSize(IntPtr)
Calls native method g_memory_output_stream_get_size.
public static extern nuint GetSize(IntPtr ostream)
Parameters
ostream
IntPtrTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
New(IntPtr, nuint, ReallocFunc, DestroyNotify)
Calls native constructor g_memory_output_stream_new.
public static extern IntPtr New(IntPtr data, nuint size, ReallocFunc reallocFunction, DestroyNotify destroyFunction)
Parameters
data
IntPtrTransfer ownership: None Nullable: True
size
nuintTransfer ownership: None Nullable: False
reallocFunction
ReallocFuncTransfer ownership: None Nullable: True
destroyFunction
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewResizable()
Calls native constructor g_memory_output_stream_new_resizable. Version: 2.36
[Version("2.36")]
public static extern IntPtr NewResizable()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
StealAsBytes(IntPtr)
Calls native method g_memory_output_stream_steal_as_bytes. Version: 2.34
[Version("2.34")]
public static extern BytesOwnedHandle StealAsBytes(IntPtr ostream)
Parameters
ostream
IntPtrTransfer ownership: None Nullable: False
Returns
- BytesOwnedHandle
Transfer ownership: Full Nullable: False
StealData(IntPtr)
Calls native method g_memory_output_stream_steal_data. Version: 2.26
[Version("2.26")]
public static extern IntPtr StealData(IntPtr ostream)
Parameters
ostream
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True