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
- 01soon
The I/O Model — Bytes vs Characters and the Two Hierarchies
- 02soon
InputStream and OutputStream — Read, Write, Flush and Close
- 03soon
BufferedInputStream and BufferedOutputStream — System Call Batching
- 04soon
Reader and Writer — Character Encoding and the InputStreamReader Bridge
- 05soon
BufferedReader and BufferedWriter — Line-Oriented I/O
- 06soon
try-with-resources — The Right Way to Close Streams
- 07soon
PrintStream and PrintWriter — Formatted Output and the Encoding Trap