Fix example for BufferedReader

Fixes #18197
Does it need it? This example works as-is.