DOutputBase Class
Send output to a string buffer managed by the class, and set the maximum length of the output string.