Streams
- Working with Streams
- Creating Streams and Managing Ownership
- Byte Input and Output
- Text Input, Output, and Encoding
- Choose the Text Operation That Matches the Task
- Process Unicode Without Splitting Encoded Characters
- Read Lines Without Losing Their Structure
- Produce Text as Complete Atomic Requests
- Capture Reusable Text Output in Memory
- Match the Encoding and BOM Policy to the Format
- Choose Deliberately How Malformed Text Is Handled
- Standard Streams
- Overview: Follow the Stable Proxy Model
- Choose Concise Helpers for Everyday Output
- Keep Results and Diagnostics on Separate Channels
- Make Standard Input Deterministic with Scoped Redirection
- Protect Native Standard-Input Buffers
- Capture Output Without Changing the Producer
- Compose Redirections in Strictly Nested Scopes
- Treat Redirects as Shared Process State
- Readiness and Timeouts
- Buffering and Back Pressure
- Stream Lifecycle
- Temporary Streams
- Positioning Streams
- Stream Errors and Diagnostics
- Coroutine Streams
- Writing Custom Streams