This class will peek at future events to ascertain if characters need to be buffered or not. author: Paul Sandoz.