Does anyone know how to assign a char * into a variable of type stringbuf without the stringbuf making a copy of what is pointed to by the char *
Reason: If the char array pointed to by the char * is very large, I don't want the stringbuf variable to make a copy of the array, rather I would like the stringbuf variable to reference the char array via the char *.
Hope this makes sense.
PK