Add ability to get the number of characters in internal reading buffer w...

...hich were not yet been parsed.