bool set(const char *buffer) bool set(const unsigned char *buffer, oefpos_t len)
Sets the contents of the internal string to the contents of the specified
buffer
. If the len
parameter is not specified, this method will
copy the contents of the specified buffer
until a null character is
reached. The null character is not copied. Returns whether or not the contents
were successfully copied.