Author Bruce Merry
Recipients Bruce Merry, asvetlov, yselivanov
Date 2018-10-13.16:13:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539447239.91.0.788709270274.issue32052@psf.upfronthosting.co.za>
In-reply-to
Content
A sequence of possible terminators would cover my immediate use case and certainly be an improvement.

To facilitate more general use cases without exposing implementation details, would it be practical and maintainable to have a "putback" method that prepends data to the buffer? It might not be fast in all cases (e.g. it might have to make a copy of what's still in the buffer), but possibly BufferedReader could detect the common case (putting back a suffix of what's just been read) and adjust its offsets into its internal buffer (although I'm not at all familiar with BufferedReader, so feel free to tell me I'm talking nonsense).
History
Date User Action Args
2018-10-13 16:13:59Bruce Merrysetrecipients: + Bruce Merry, asvetlov, yselivanov
2018-10-13 16:13:59Bruce Merrysetmessageid: <1539447239.91.0.788709270274.issue32052@psf.upfronthosting.co.za>
2018-10-13 16:13:59Bruce Merrylinkissue32052 messages
2018-10-13 16:13:59Bruce Merrycreate