Hi,
This is a second version of the patch. It changes the following in theVisibleBufferedInputStream:- IndexOutOfBounds in scanCString caused by typo- better buffer management, now tries harder to avoid short reads fromthe wrapped stream