Table of Contents

Class MemoryInputStream

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

Transfer ownership: None Nullable: False

bytes BytesHandle

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

Transfer ownership: None Nullable: False

data byte

Transfer ownership: Full Nullable: False

len long

Transfer ownership: None Nullable: False

destroy DestroyNotify

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

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

Transfer ownership: Full Nullable: False

len long

Transfer ownership: None Nullable: False

destroy DestroyNotify

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: False