Any chance of adding a peekByte() method to BufferedInputStream?
I can read and reset the position, but that can be really inefficient.
Any chance of adding a peekByte() method to BufferedInputStream?
I can read and reset the position, but that can be really inefficient.
Sounds like a simple and sane request, I’ll add that!