thepointman.dev_

Courses / Java

Java I/O Streams

advanced7 lessons

The byte vs character split and why it exists, InputStream/OutputStream contract, BufferedInputStream for system call batching, the InputStreamReader bridge and charset encoding, buffered character I/O, the try-with-resources desugaring, PrintWriter's encoding trap, and reading/writing binary vs text files correctly.

// Lessons

  1. 01

    The I/O Model — Bytes vs Characters and the Two Hierarchies

    soon
  2. 02

    InputStream and OutputStream — Read, Write, Flush and Close

    soon
  3. 03

    BufferedInputStream and BufferedOutputStream — System Call Batching

    soon
  4. 04

    Reader and Writer — Character Encoding and the InputStreamReader Bridge

    soon
  5. 05

    BufferedReader and BufferedWriter — Line-Oriented I/O

    soon
  6. 06

    try-with-resources — The Right Way to Close Streams

    soon
  7. 07

    PrintStream and PrintWriter — Formatted Output and the Encoding Trap

    soon