4.6. Summary

The Java input and output package (java.io) provides developers with a comprehensive range of options for reading and writing bytes of data, as well as characters. Once mastered, streams play an important part in application development, and particularly so in the case of network programming. By applying filter streams, or filter readers and writers, to low-level streams, developers can read numbers, arrays, characters, strings, and other datatypes from a sequence of bytes, or write such datatypes to a new sequence of bytes.

Chapter Highlights

In this chapter, you have learned:

  • What streams are, and how they work

  • What readers and writers are, and how they work

  • How to connect filter streams to low-level streams

  • How to connect readers ...

Get Java™ Network Programming and Distributed Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.