Table of Contents

Class CharsetConverter

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class CharsetConverter
Inheritance
CharsetConverter
Inherited Members

Methods

GetGType()

Calls native function g_charset_converter_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetNumFallbacks(IntPtr)

Calls native method g_charset_converter_get_num_fallbacks. Version: 2.24

[Version("2.24")]
public static extern uint GetNumFallbacks(IntPtr converter)

Parameters

converter IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetUseFallback(IntPtr)

Calls native method g_charset_converter_get_use_fallback. Version: 2.24

[Version("2.24")]
public static extern bool GetUseFallback(IntPtr converter)

Parameters

converter IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, out ErrorOwnedHandle)

Calls native constructor g_charset_converter_new. Version: 2.24

[Version("2.24")]
public static extern IntPtr New(NonNullableUtf8StringHandle toCharset, NonNullableUtf8StringHandle fromCharset, out ErrorOwnedHandle error)

Parameters

toCharset NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

fromCharset NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetUseFallback(IntPtr, bool)

Calls native method g_charset_converter_set_use_fallback. Version: 2.24

[Version("2.24")]
public static extern void SetUseFallback(IntPtr converter, bool useFallback)

Parameters

converter IntPtr

Transfer ownership: None Nullable: False

useFallback bool

Transfer ownership: None Nullable: False