Code example for BufferedInputStream

Methods: available, read