#include <GUtf8.h>
Public Member Functions | |
GUtf8Ptr & | operator= (char *s) |
Assign a new pointer to the string. | |
GUtf8Ptr & | operator= (uint8 *s) |
Assign a new pointer to the string. | |
operator uint32 () | |
uint32 | operator++ (const int n) |
Seeks 1 character forward. | |
uint32 | operator-- (const int n) |
Seeks 1 character backward. | |
uint32 | operator+= (const int n) |
Seeks 'n' characters forward. | |
uint32 | operator-= (const int n) |
Seeks 'n' characters backward. | |
int | GetBytes () |
Gets the bytes between the cur pointer and the end of the buffer or string. | |
int | GetChars () |
Gets the characters between the cur pointer and the end of the buffer or string. | |
uint8 * | GetCurrent () |
Gets the current ptr. | |
void | Add (char16 c) |
Encodes a utf-8 char at the current location and moves the pointer along. | |
uint8 * | GetPtr () |
Returns the current pointer. |
GUtf8Ptr::operator uint32 | ( | ) |