Table of Contents

Class Converter

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

Methods

Convert(IntPtr, ref byte, nuint, ref byte, nuint, ConverterFlags, out nuint, out nuint, out ErrorOwnedHandle)

Calls native method g_converter_convert. Version: 2.24

[Version("2.24")]
public static extern ConverterResult Convert(IntPtr converter, ref byte inbuf, nuint inbufSize, ref byte outbuf, nuint outbufSize, ConverterFlags flags, out nuint bytesRead, out nuint bytesWritten, out ErrorOwnedHandle error)

Parameters

converter IntPtr

Transfer ownership: None Nullable: False

inbuf byte

Transfer ownership: None Nullable: False

inbufSize nuint

Transfer ownership: None Nullable: False

outbuf byte

Transfer ownership: None Nullable: False

outbufSize nuint

Transfer ownership: None Nullable: False

flags ConverterFlags

Transfer ownership: None Nullable: False

bytesRead nuint

Transfer ownership: Full Nullable: False

bytesWritten nuint

Transfer ownership: Full Nullable: False

error ErrorOwnedHandle

Returns

ConverterResult

Transfer ownership: None Nullable: False

GetGType()

Calls native function g_converter_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

Reset(IntPtr)

Calls native method g_converter_reset. Version: 2.24

[Version("2.24")]
public static extern void Reset(IntPtr converter)

Parameters

converter IntPtr

Transfer ownership: None Nullable: False