What is the purpose of using BufferedInputStream and BufferedOutputStream classes?

Technical