Class Converter
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
IntPtrTransfer ownership: None Nullable: False
inbuf
byteTransfer ownership: None Nullable: False
inbufSize
nuintTransfer ownership: None Nullable: False
outbuf
byteTransfer ownership: None Nullable: False
outbufSize
nuintTransfer ownership: None Nullable: False
flags
ConverterFlagsTransfer ownership: None Nullable: False
bytesRead
nuintTransfer ownership: Full Nullable: False
bytesWritten
nuintTransfer 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
IntPtrTransfer ownership: None Nullable: False