Fix example for BufferedReader

Fixes #18197
whoops! duh.