Title: Byte stream
Course: CPS 189: Java Certification - Review, Practice & Prepare (Development) > Section: (OLDstyle) Learning Modules

Byte stream

A byte stream reads or writes one byte at a time.

- Classes FileInputStream and FileOutputStream provide byte streams for reading from and writing to files, respectively.
- Classes BufferedInputStream and Buffered OutputStream provide buffers for reading and writing blocks of bytes at a time, respectively.
- Classes ending in “Stream” are subclasses of abstract classes InputStream and OutputStream, and operate as byte streams.

For more information, see:

- Byte Streams
- Level 1 Study Materials: Unit 2
- Level 1 Study Materials: Unit 3