create a string with std string, you can also pass a c string pointer because the default constructor of gd::string can access a c string pointer.
Getting Started
Modding Tutorials
Geode Mods
Handbook
An Introduction to GD Modding (using Geode)
create a string with std string, you can also pass a c string pointer because the default constructor of gd::string can access a c string pointer.
create a string with format, it’s similar with the c function ‘sprintf’, the default buffer size is (1024*100) bytes, if you want to change it, you should modify the kMaxStringLen macro in CCString.cpp file.
create a string with binary data
create a string with a file,
init a string with format, it’s similar with the c function ‘sprintf’
convert to int value
convert to unsigned int value
convert to float value
convert to double value
convert to bool value
get the C string
get the length of string
compare to a c string