See RaylibCoreFlat.TextToPascal.
MemoryPointer<RChar> TextToPascal( MemoryPointer<RChar> text, ) => _module.TextToPascal(text);