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(nint)

Calls native method g_charset_converter_get_num_fallbacks. Version: 2.24

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

Parameters

converter nint

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetUseFallback(nint)

Calls native method g_charset_converter_get_use_fallback. Version: 2.24

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

Parameters

converter nint

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 nint 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

nint

Transfer ownership: Full Nullable: False

SetUseFallback(nint, bool)

Calls native method g_charset_converter_set_use_fallback. Version: 2.24

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

Parameters

converter nint

Transfer ownership: None Nullable: False

useFallback bool

Transfer ownership: None Nullable: False