Table of Contents

Class StringHelper

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

Methods

StringToPtrUtf8(string?)

Creates a null-terminated UTF-8 string in unmanaged memory.

public static IntPtr StringToPtrUtf8(string? str)

Parameters

str string

Returns

IntPtr

A pointer to a null-terminated UTF-8 string.

Remarks

The result should later be freed with g_free().