Class MemoryInputStream
public class MemoryInputStream
- Inheritance
-
MemoryInputStream
- Inherited Members
Methods
AddBytes(IntPtr, BytesHandle)
Calls native method g_memory_input_stream_add_bytes. Version: 2.34
[Version("2.34")]
public static extern void AddBytes(IntPtr stream, BytesHandle bytes)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
bytes
BytesHandleTransfer ownership: None Nullable: False
AddData(IntPtr, ref byte, long, DestroyNotify)
Calls native method g_memory_input_stream_add_data.
public static extern void AddData(IntPtr stream, ref byte data, long len, DestroyNotify destroy)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
data
byteTransfer ownership: Full Nullable: False
len
longTransfer ownership: None Nullable: False
destroy
DestroyNotifyTransfer ownership: None Nullable: True
GetGType()
Calls native function g_memory_input_stream_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
New()
Calls native constructor g_memory_input_stream_new.
public static extern IntPtr New()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewFromBytes(BytesHandle)
Calls native constructor g_memory_input_stream_new_from_bytes. Version: 2.34
[Version("2.34")]
public static extern IntPtr NewFromBytes(BytesHandle bytes)
Parameters
bytes
BytesHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewFromData(ref byte, long, DestroyNotify)
Calls native constructor g_memory_input_stream_new_from_data.
public static extern IntPtr NewFromData(ref byte data, long len, DestroyNotify destroy)
Parameters
data
byteTransfer ownership: Full Nullable: False
len
longTransfer ownership: None Nullable: False
destroy
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: Full Nullable: False