Copies n bytes from the value c (converted to an unsigned char) into dest. Returns dest.
n
c
dest
CString memset(CString dest, int c, int n) { for (int i = 0; i < n; i++) { dest[i] = c & 0xFF; } return dest; }