lib/stream: BufferedReader return the buffer if less than asked to read