Documentation

Text

Namespace

Text parsing and formatting.

Parses the given string as an integer.

Returns int

Parses the given string as a 64 bit integer.

Returns int64

Parses the given string as an unsigned integer.

Returns uint

Parses the given string as a 64 bit unsigned integer.

Returns uint64

Parses the given string as a float.

Returns float

Parses the given string as a double.

Returns double

Parses the given string as a hexadecimal color such as "#FF0000".

Returns vec4

Tries to parse the given string as an integer. This will return true only if the string was parsed entirely and was not empty.

Returns bool

Tries to parse the given string as a 64 bit integer. This will return true only if the string was parsed entirely and was not empty.

Returns bool

Tries to parse the given string as an unsigned integer. This will return true only if the string was parsed entirely and was not empty.

Returns bool

Tries to parse the given string as a 64 bit unsigned integer. This will return true only if the string was parsed entirely and was not empty.

Returns bool

Parses the given string as a float. This will return true only if the string was parsed entirely and was not empty.

Returns bool

Parses the given string as a double. This will return true only if the string was parsed entirely and was not empty.

Returns bool

Parses the given string as a hexadecimal color such as "#FF0000". This will return true only if the string was parsed entirely and was not empty.

Returns bool

Formats a pointer to its more representative hexadecimal format, for example: 0x12345678

Returns string

Formats a color in Maniaplanet-style color formatting, for example: "$f00"

Returns string

Formats a color in Openplanet-style UI color formatting, for example: "\$f00"

Returns string

Encode a string as a base64 encoded string. Note that if you want to encode binary data, you should probably use MemoryBuffer::ReadToBase64 instead.

Returns string

Decode a base64 encoded string to a string. Note that if you want to decode binary data, you should probably use MemoryBuffer::WriteFromBase64 instead.

Returns string