Table of Contents

Class StringChunk

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public class StringChunk
Inheritance
StringChunk
Inherited Members

Methods

Clear(StringChunkHandle)

Calls native method g_string_chunk_clear. Version: 2.14

[Version("2.14")]
public static extern void Clear(StringChunkHandle chunk)

Parameters

chunk StringChunkHandle

Transfer ownership: None Nullable: False

Free(StringChunkUnownedHandle)

Calls native method g_string_chunk_free.

public static extern void Free(StringChunkUnownedHandle chunk)

Parameters

chunk StringChunkUnownedHandle

Transfer ownership: Full Nullable: False

Insert(StringChunkHandle, NonNullableUtf8StringHandle)

Calls native method g_string_chunk_insert.

public static extern NonNullableUtf8StringOwnedHandle Insert(StringChunkHandle chunk, NonNullableUtf8StringHandle @string)

Parameters

chunk StringChunkHandle

Transfer ownership: None Nullable: False

string NonNullableUtf8StringHandle

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

InsertConst(StringChunkHandle, NonNullableUtf8StringHandle)

Calls native method g_string_chunk_insert_const.

public static extern NonNullableUtf8StringOwnedHandle InsertConst(StringChunkHandle chunk, NonNullableUtf8StringHandle @string)

Parameters

chunk StringChunkHandle

Transfer ownership: None Nullable: False

string NonNullableUtf8StringHandle

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

InsertLen(StringChunkHandle, NonNullableUtf8StringHandle, long)

Calls native method g_string_chunk_insert_len. Version: 2.4

[Version("2.4")]
public static extern NonNullableUtf8StringOwnedHandle InsertLen(StringChunkHandle chunk, NonNullableUtf8StringHandle @string, long len)

Parameters

chunk StringChunkHandle

Transfer ownership: None Nullable: False

string NonNullableUtf8StringHandle
len long

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

New(nuint)

Calls native function g_string_chunk_new.

public static extern StringChunkOwnedHandle New(nuint size)

Parameters

size nuint

Transfer ownership: None Nullable: False

Returns

StringChunkOwnedHandle

Transfer ownership: Full Nullable: False