Luna::BasicString::clear

void clear()

Removes all characters from the string, but keeps the string buffer.

The user can call shrink_to_fit after this to free the string buffer.